summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AsmPrinter/DwarfUnit.h
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2014-05-15 23:18:15 +0000
committerDavid Blaikie <dblaikie@gmail.com>2014-05-15 23:18:15 +0000
commitbc094f387b4a8efa7e9c9e7666c5a2ff04988d85 (patch)
tree1ed9a33799f8b7723f34ebebf224e3e65616216e /llvm/lib/CodeGen/AsmPrinter/DwarfUnit.h
parent3224ebc88d6451a7d75601b003d9f2d4c74a20d2 (diff)
downloadbcm5719-llvm-bc094f387b4a8efa7e9c9e7666c5a2ff04988d85.tar.gz
bcm5719-llvm-bc094f387b4a8efa7e9c9e7666c5a2ff04988d85.zip
DebugInfo: Don't put fission type units in comdat sections.
Since type units in the dwo file are handled by a debug aware tool, they don't need to leverage the ELF comdat grouping to implement deduplication. Avoid creating all the .group sections for these as a space optimization. llvm-svn: 208930
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DwarfUnit.h')
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/DwarfUnit.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfUnit.h b/llvm/lib/CodeGen/AsmPrinter/DwarfUnit.h
index e44f256c3a3..bf61e112181 100644
--- a/llvm/lib/CodeGen/AsmPrinter/DwarfUnit.h
+++ b/llvm/lib/CodeGen/AsmPrinter/DwarfUnit.h
@@ -577,6 +577,7 @@ public:
sizeof(uint32_t); // Type DIE Offset
}
void initSection(const MCSection *Section);
+ using DwarfUnit::initSection;
DwarfCompileUnit &getCU() override { return CU; }
protected:
OpenPOWER on IntegriCloud