[PATCH] D85436: [DebugInfo] Clean up DIEUnit. NFC.

Igor Kudrin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 6 08:48:54 PDT 2020


ikudrin created this revision.
ikudrin added reviewers: dblaikie, jhenderson, probinson, aprantl.
ikudrin added projects: LLVM, debug-info.
Herald added a subscriber: hiraditya.
ikudrin requested review of this revision.

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`.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D85436

Files:
  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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D85436.283621.patch
Type: text/x-patch
Size: 5284 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200806/e6014cdf/attachment.bin>


More information about the llvm-commits mailing list