summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2014-11-01 20:06:28 +0000
committerDavid Blaikie <dblaikie@gmail.com>2014-11-01 20:06:28 +0000
commita34568b2207835a3d08901014789c1d8888966ff (patch)
treed3d4263569ebdff36a1c091607be5d1b546cb10e /llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
parent8104b75c9f1bd9da8527652afc45bbf8043eb9a5 (diff)
downloadbcm5719-llvm-a34568b2207835a3d08901014789c1d8888966ff.tar.gz
bcm5719-llvm-a34568b2207835a3d08901014789c1d8888966ff.zip
Sink DwarfUnit::SectionSym into DwarfCompileUnit as it's only needed/used there.
llvm-svn: 221062
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp')
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
index a4f5e55cbef..bbac4794aad 100644
--- a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
+++ b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
@@ -2151,8 +2151,7 @@ void DwarfDebug::addDwarfTypeUnitType(DwarfCompileUnit &CU,
NewTU.setTypeSignature(Signature);
if (useSplitDwarf())
- NewTU.initSection(Asm->getObjFileLowering().getDwarfTypesDWOSection(),
- DwarfTypesDWOSectionSym);
+ NewTU.initSection(Asm->getObjFileLowering().getDwarfTypesDWOSection());
else {
CU.applyStmtList(UnitDie);
NewTU.initSection(
OpenPOWER on IntegriCloud