[llvm] r208933 - DebugInfo: Follow up to r208930, comment usage of 'using' to bring in base class overload.

David Blaikie dblaikie at gmail.com
Thu May 15 16:29:54 PDT 2014


Author: dblaikie
Date: Thu May 15 18:29:53 2014
New Revision: 208933

URL: http://llvm.org/viewvc/llvm-project?rev=208933&view=rev
Log:
DebugInfo: Follow up to r208930, comment usage of 'using' to bring in base class overload.

Code review feedback from Eric Christopher.

Modified:
    llvm/trunk/lib/CodeGen/AsmPrinter/DwarfUnit.h

Modified: llvm/trunk/lib/CodeGen/AsmPrinter/DwarfUnit.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/AsmPrinter/DwarfUnit.h?rev=208933&r1=208932&r2=208933&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/AsmPrinter/DwarfUnit.h (original)
+++ llvm/trunk/lib/CodeGen/AsmPrinter/DwarfUnit.h Thu May 15 18:29:53 2014
@@ -577,6 +577,9 @@ public:
            sizeof(uint32_t);                               // Type DIE Offset
   }
   void initSection(const MCSection *Section);
+  // Bring in the base function (taking two args, including the section symbol)
+  // for use when building DWO type units (they don't go in unique comdat
+  // sections)
   using DwarfUnit::initSection;
   DwarfCompileUnit &getCU() override { return CU; }
 





More information about the llvm-commits mailing list