This removes members of the DIEUnit class which were used only in unit tests.
Note also that child classes shadowed some of these methods, namely, getDwarfVersion() was overridden in DwartfUnit and getLength() was overridden in DwarfCompileUnit.
Paths
| Differential D85436
[DebugInfo] Clean up DIEUnit. NFC. ClosedPublic Authored by ikudrin on Aug 6 2020, 8:48 AM.
Details Summary This removes members of the DIEUnit class which were used only in unit tests. Note also that child classes shadowed some of these methods, namely, getDwarfVersion() was overridden in DwartfUnit and getLength() was overridden in DwarfCompileUnit.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Aug 6 2020, 4:39 PM This revision was landed with ongoing or failed builds.Aug 7 2020, 2:09 AM Closed by commit rGb6b0ff18a312: [DebugInfo] Clean up DIEUnit. NFC. (authored by ikudrin). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 283842 llvm/include/llvm/CodeGen/DIE.h
llvm/include/llvm/DWARFLinker/DWARFLinkerCompileUnit.h
llvm/lib/CodeGen/AsmPrinter/DIE.cpp
llvm/lib/CodeGen/AsmPrinter/DwarfUnit.cpp
llvm/unittests/DebugInfo/DWARF/DwarfGenerator.h
|