From 01a02d91dcb47cdc31fe6570f59eac3740d3da0e Mon Sep 17 00:00:00 2001 From: David Blaikie Date: Thu, 15 May 2014 23:29:53 +0000 Subject: [PATCH] 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 --- lib/CodeGen/AsmPrinter/DwarfUnit.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/CodeGen/AsmPrinter/DwarfUnit.h b/lib/CodeGen/AsmPrinter/DwarfUnit.h index bf61e112181..78931487986 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; } -- 2.34.1