summaryrefslogtreecommitdiff
path: root/lib/CodeGen/AsmPrinter
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2014-05-15 23:29:53 +0000
committerDavid Blaikie <dblaikie@gmail.com>2014-05-15 23:29:53 +0000
commit01a02d91dcb47cdc31fe6570f59eac3740d3da0e (patch)
treed5b7b16edcc4eaef8f38271e0adb116637b082b4 /lib/CodeGen/AsmPrinter
parent6d22500de37947705c62068471fe56b4a19ec608 (diff)
downloadllvm-01a02d91dcb47cdc31fe6570f59eac3740d3da0e.tar.gz
llvm-01a02d91dcb47cdc31fe6570f59eac3740d3da0e.tar.bz2
llvm-01a02d91dcb47cdc31fe6570f59eac3740d3da0e.tar.xz
DebugInfo: Follow up to r208930, comment usage of 'using' to bring in base class overload.
Code review feedback from Eric Christopher. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@208933 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/AsmPrinter')
-rw-r--r--lib/CodeGen/AsmPrinter/DwarfUnit.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/CodeGen/AsmPrinter/DwarfUnit.h b/lib/CodeGen/AsmPrinter/DwarfUnit.h
index bf61e11218..7893148798 100644
--- a/lib/CodeGen/AsmPrinter/DwarfUnit.h
+++ b/lib/CodeGen/AsmPrinter/DwarfUnit.h
@@ -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; }