Home | History | Annotate | Download | only in m_debuginfo
      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-2012 OpenWorks LLP
     12       info (at) 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 
     41 /* Read variables and types from DWARF3 ".debug_info" sections. */
     42 void
     43 ML_(new_dwarf3_reader) (
     44    struct _DebugInfo* di,
     45    UChar* debug_info_img,   SizeT debug_info_sz,
     46    UChar* debug_types_img,  SizeT debug_types_sz,
     47    UChar* debug_abbv_img,   SizeT debug_abbv_sz,
     48    UChar* debug_line_img,   SizeT debug_line_sz,
     49    UChar* debug_str_img,    SizeT debug_str_sz,
     50    UChar* debug_ranges_img, SizeT debug_ranges_sz,
     51    UChar* debug_loc_img,    SizeT debug_loc_sz,
     52    UChar* debug_info_alt_img, SizeT debug_info_alt_sz,
     53    UChar* debug_abbv_alt_img, SizeT debug_abbv_alt_sz,
     54    UChar* debug_line_alt_img, SizeT debug_line_alt_sz,
     55    UChar* debug_str_alt_img,  SizeT debug_str_alt_sz
     56 );
     57 
     58 #endif /* ndef __PRIV_READDWARF3_H */
     59 
     60 /*--------------------------------------------------------------------*/
     61 /*--- end                                        priv_readdwarf3.h ---*/
     62 /*--------------------------------------------------------------------*/
     63