1
2/*--------------------------------------------------------------------*/
3/*--- Read DWARF3 ".debug_info" sections (DIE trees).              ---*/
4/*---                                            priv_readdwarf3.h ---*/
5/*--------------------------------------------------------------------*/
6
7/*
8   This file is part of Valgrind, a dynamic binary instrumentation
9   framework.
10
11   Copyright (C) 2008-2013 OpenWorks LLP
12      info@open-works.co.uk
13
14   This program is free software; you can redistribute it and/or
15   modify it under the terms of the GNU General Public License as
16   published by the Free Software Foundation; either version 2 of the
17   License, or (at your option) any later version.
18
19   This program is distributed in the hope that it will be useful, but
20   WITHOUT ANY WARRANTY; without even the implied warranty of
21   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
22   General Public License for more details.
23
24   You should have received a copy of the GNU General Public License
25   along with this program; if not, write to the Free Software
26   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
27   02111-1307, USA.
28
29   The GNU General Public License is contained in the file COPYING.
30
31   Neither the names of the U.S. Department of Energy nor the
32   University of California nor the names of its contributors may be
33   used to endorse or promote products derived from this software
34   without prior written permission.
35*/
36
37#ifndef __PRIV_READDWARF3_H
38#define __PRIV_READDWARF3_H
39
40#include "pub_core_debuginfo.h"   // DebugInfo
41#include "priv_image.h"           // DiSlice
42
43/* Read variables and types from DWARF3 ".debug_info" sections. */
44void
45ML_(new_dwarf3_reader) (
46   DebugInfo* di,
47   DiSlice escn_debug_info,      DiSlice escn_debug_types,
48   DiSlice escn_debug_abbv,      DiSlice escn_debug_line,
49   DiSlice escn_debug_str,       DiSlice escn_debug_ranges,
50   DiSlice escn_debug_loc,       DiSlice escn_debug_info_alt,
51   DiSlice escn_debug_abbv_alt,  DiSlice escn_debug_line_alt,
52   DiSlice escn_debug_str_alt
53);
54
55#endif /* ndef __PRIV_READDWARF3_H */
56
57/*--------------------------------------------------------------------*/
58/*--- end                                        priv_readdwarf3.h ---*/
59/*--------------------------------------------------------------------*/
60