Debian Codegraph @

src/bin/dwarfgen/ChangeLog2019

raw
1 2019-10-23 David Anderson
2 * CMakeLists.txt: Use DW_FWALLXX for C++.
3 2019-10-20 David Anderson
4 * createirepformfrombinary.cc,createirepfrombinary.cc,
5 dwarfgen.cc,irepattrtodbg.cc,ireptodbg.cc:
6 Be more thorough in using config.h to check for C
7 headers before #including them.
8 2019-10-06 David Anderson
9 * createirepfrombinary.cc,dwarfgen.cc: Removed
10 trailing whitespace.
11 2019-10-05 David Anderson
12 * dwarfgen.cc: Now it has the tools (with a little
13 help in libdwarf.h) to properly create an object file
14 that is ELFCLASS64 but has 32 bit offsets in DWARF.
15 2019-10-04 David Anderson
16 * ireptodbg.cc: Corrected the code implementing
17 the dwarfgen.cc option --add-frame-advance-loc.
18 It's always been a bit wrong.
19 * dwarfgen.cc: Forgot to set the output-endianness flag bit
20 in the call to dwarf_producer_init() which meant
21 it defaulted to host endianness. Oops. Not the intent.
22 Now set as intended (to little-endian in the test cases
23 existing so far).
24 2019-09-22 David Anderson
25 * createirepfrombinary.cc: Delete pointless empty lines
26 and add code to recognize and correct for a broken gcc
27 that duplicated an attribute (by dropping the duplicate).
28 * dwarfgen.cc: Adds the ability to choose the output
29 target size/endian/etc at runtime and gathers
30 the choices conveniently together so it is
31 legible. Adds a choice of generating DWARF4
32 with 64bit pointers, showing by example.
33 Now supports generating 64bit offset elf.
34 2019-09-02 David Anderson
35 * dwarfgen.cc: Now running it on a big-endian machine
36 (reading and writing little-endian objects) works
37 properly. Arbitrary endian combinations not
38 fully supported.
39 * ireptodbg.cc(specialAttrTransformations): Removed
40 four lines of useless code.
41 2019-05-26 David Anderson
42 * irepattrtodbg.cc,irepdie.h: Remove trailing whitespace.
43 * irepform.h: Reformat a few lines to shorten them.
44 * ireptodbg.cc: Fix indent.
45 2019-05-24 David Anderson
46 * Makefile.am: Delete mention of config.h.in.cmake.
47 * Makefile.in: Regenerate.
48 2019-05-22 David Anderson
49 * dwarfgen.cc: Add ifdef/endif around include <stdint.h>
50 2019-05-20 David Anderson
51 * CMakeLists.txt: No longer generates a local-build-dir
52 config.h
53 * config.h.in.cmake: Deleted.
54 2019-05-20 David Anderson
55 * CMakeLists.txt: Reflects new option naming. Adds
56 compiler warning options.
57 * config.h.in.cmake: Adds needed standard defines such
58 as cmakedefine DWARF_WITH_LIBELF.
59 * createirepformfrombinary.cc,createirepfrombinary.cc:
60 Add/remove comments for readability.
61 2019-05-14 David Anderson
62 * irepframe.h: Modified an argument name to avoid
63 shadowing a class-local function name. Avoiding
64 a compiler warning.
65 2019-05-13 David Anderson
66 * dwarfgen.cc: A bug in a macro shows up only
67 on big-endian systems. This fixes it.
68 2019-05-07 David Anderson
69 * CMakeLists.txt: Deleted a debugging message().
70 2019-05-01 David Anderson
71 * configure.cmake: Deleted.
72 * CMakeLists.txt: Now does its configure_file on its own.
73 2019-05-01 David Anderson
74 * configure.cmake: Removed some lines, placing them in
75 base directory configure.cmake.
76 2019-04-28 David Anderson
77 * config.h.in.cmake, configure.cmake: Deleted all reference to
78 INT32 and INT64 as no longer needed.
79 2019-04-26 David Anderson
80 * config.h.in.cmake,configure.cmake: Now deals with
81 latest cmake libdwarf options.
82 2019-04-25 David Anderson
83 * createirepfrombinary.cc: Corrected the test for _MSC_VER.
84 2019-04-22 David Anderson
85 * createirepfrombinary.cc: Add test for _MSC_VER for Windows MSVC.
86 2019-03-07 David Anderson
87 * irepdie.h: The IRAttr assignment constructor
88 had a memory leak. Fixed.
89 * general.h: Added #ifndef GENERAL_H to make inclusion
90 idempotent.
91 * ireptodbg.cc: Using new IRAattr member function
92 dropFormData to ensure immediate delete of formdata_.
93 Not really needed since it would eventually be
94 delete-d anyway by the destructor.
95 2019-03-04 David Anderson
96 * dwarfgen.cc: Updated the comment about the libdwarf interface
97 call return values.
98 * irepattrtodbg.cc: Changed the libdwarf producer function calls
99 to be the newer version returning an int as that version
100 is simpler to work with. The old interfaces still exist
101 and work the same as always.
102 * irepdie.h: setFormData() was failing to account for
103 a replacement value of formdata_, which could leak
104 memory.
105 * ireptodbg.cc: Replaced calls to libdwarf producer that
106 returned DW_DLV_NOCOUNT or DW_DLV_BADADDR with the ones
107 returning an int for improved readability of the code.
108 The old functions still exist and work as always but
109 we're not using them here.
110 2019-02-18 David Anderson
111 * configure.cmake: Now defines DWARF_WITH_LIBELF
112 for consistency with other cmake files.
113 * dwarfgen.cc: Trivial comment correction.
114 2019-02-12 David Anderson
115 * dwarfgen.cc: The new option --add-sun-func-offsets
116 tests whether the DW_AT_SUN_func_offsets data can
117 be written (and later read) properly.
118 * general.h: Added bool addSUNfuncoffsets.
119 * irepattrtodbg.cc: Now we handle DW_FORM_CLASS_BLOCK.
120 * irepform.h: Refine IRFormBlock to make it usable.
121 * ireptodbg.cc: When requested, add a
122 DW_AT_SUN_func_offsets attribute to a compile unit.
123 2019-02-08 David Anderson
124 * ireptodbg.cc: std::list<Dwarf_Unsigned> adval
125 was using a non-portable initializer. Now using
126 standard C++ list initializer.
127 2019-01-31 David Anderson
128 * dwarfgen.cc,dwarfgen/ireptodbg.cc: Fixing issues
129 reported by the llvm scan-build tool.
130 2019-01-20 David Anderson
131 * dwarfgen.cc: Remove use of uint32_t and uint64_t
132 and use Dwarf_Unsigned for arithmetic.
133 2019-01-14 David Anderson
134 * createirepfrombinary.cc: Made a partial step toward
135 being able to read eh_frame, but those few lines
136 are ignored for now.
137 * dwarfgen.cc,general.h: Adding --add-frame-advance-loc option
138 which causes testing of the new DW_CFA_advance_loc
139 emitting code (better portability of the code).
140 * irepframe.h: Changed index results from signed
141 to unsigned. Negative values never meant anything.
142 * irepresentation.h: Added code for eh_frame.
143 * ireptodbg.cc: We now use the improved DW_DLV_OK
144 producer calls so we changed away from allowing
145 indexes to be negative, we do not need to allow
146 that any longer. Now uses the latest libdwarf
147 producer calls for frame data.
148 If --add-frame-advance-loc then emit particular
149 values of advance_loc to test the code paths
150 in the DW_CFA_advance_loc* logic.
151 We create a whole new cie/fde pair for the new
152 fde testing output.
153 2019-01-02 David Anderson
154 * ChangeLog: Renamed ChangeLog2018
155 * Makefile.am: Addec ChangeLog2018 to dist files.