Commit Graph

8 Commits

Author SHA1 Message Date
David Anderson
6f09d84ae6 Was missing return *this a bunch of places.
dwarfgen/irepform.h
2016-01-14 14:19:26 -08:00
David Anderson
affafa89fb Removed trailing (and useless) whitespace from all the lines
containing it.  Many many files had such.
2014-01-29 15:02:07 -08:00
David Anderson
3f82477dae Added dwarf_add_AT_reference_b() and dwarf_fixup_AT_reference_die()
and dwarf_add_AT_with_ref_sig8() to libdwarf producer function list.
Documented the new functions in libdwarf2p.1.mm.
If we already have a DW_AT_sibling attribute we take care not
to add a second one.

dwarfgen now supports some 'class reference' forms (local references
and sig8 references, not yet global references).
Fixed dealloc for dwarf_get_pubtypes to avoid duplicate free.
2013-11-01 05:28:10 -07:00
David Anderson
beaa109d72 The dwarfgen copyright changed to BSD3 form.
libdwarf and dwarfdump copyrights are unchanged.
2013-10-14 16:36:37 -07:00
David Anderson
d522c98f03 dwarfdump[2]: commentary and indenting fixes (very few).
dwarfexample: Adds a --check option to show in detail
     when the DW_AT_high_pc is a constant vs offset,
     at least for subprograms.
dwarfgen: Now handles class constant (writes to output)
     and fixes missing handling of DW_FORM_data4/8 in
     global references.
     Adds -h option telling dwarfgen to alter a high pc
     from address class to const class (and adjusts
     the value appropriately).  So we can create
     testcases without having a too-recent compiler.
libdwarf: Fix an error no one should ever see (programmer
     failed to run a simple test!) so it returns DW_DLV_ERROR
     in case it happens.
     Add dwarf_highpc_b() function to consumer code.
     dwarf_add_AT_any_value_sleb() and  dwarf_add_AT_any_value_uleb()
     to producer code.
     Update libdwarf2.1.mm and libdwarf2p.1.mm to reflect the
     new functions.
2013-08-14 08:15:02 -07:00
David Anderson
d88ca0746c libdwarf: the functions dwarf_whatform and dwarf_whatform_direct
are really misnamed. Now libdwarf2.1.mm exposes the real meaning
and libdwarf2.1.mm (in commentary) does too.
dwarfgen has fixes so it builds 64bit.
Omissions in dwarfgen which were not processing FORMs right
are corrected.
2013-02-01 08:27:47 -08:00
David Anderson
c0e16a28d8 Fixes the intentation in dwarfgen to match the 4-character
indent that is the libdwarf/dwarfdump standard.
Updates the dwarfgen copyright year.
2011-04-23 10:32:03 -07:00
David Anderson
637442ea0b Initial commit. Content is the libdwarf-20110113.tar.gz
last-released-libdwarf and dwarfdump.
2011-03-19 11:38:11 -07:00