[PATCH] D34765: [DWARF] [NFC] Move a couple of member functions to DWARFUnit (baseclass) from DWARFCompileUnit (derived class)

Wolfgang Pieb via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 28 10:27:37 PDT 2017


wolfgangp created this revision.

Moving member functions addSectionDelta() and addSectionLabel() into DWARFUnit, which is the base class for DWARFCompileUnit and DWARFTypeUnit. This is to prepare for generating DWARF v5 string offsets tables. We need those 2 functions in both DWARFCompileUnit and DWARFTypeUnit. NFC.


https://reviews.llvm.org/D34765

Files:
  lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
  lib/CodeGen/AsmPrinter/DwarfCompileUnit.h
  lib/CodeGen/AsmPrinter/DwarfUnit.cpp
  lib/CodeGen/AsmPrinter/DwarfUnit.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D34765.104446.patch
Type: text/x-patch
Size: 5133 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170628/2d3d8dc8/attachment.bin>


More information about the llvm-commits mailing list