summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AsmPrinter/DwarfFile.cpp
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2014-11-01 23:07:14 +0000
committerDavid Blaikie <dblaikie@gmail.com>2014-11-01 23:07:14 +0000
commit983bfea0d0f7b35eb6824921bae6fb56db3c5437 (patch)
treee899d245231eec399028eb49d89f21a55b2040ef /llvm/lib/CodeGen/AsmPrinter/DwarfFile.cpp
parente1c664b13680a06711c744cd9a7da93b1b759bdc (diff)
downloadbcm5719-llvm-983bfea0d0f7b35eb6824921bae6fb56db3c5437.tar.gz
bcm5719-llvm-983bfea0d0f7b35eb6824921bae6fb56db3c5437.zip
Remove DwarfUnit::LabelEnd in favor of computing the length of the section directly
This was a compile-unit specific label (unused in type units) and seems unnecessary anyway when we can more easily directly compute the size of the compile unit. llvm-svn: 221067
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DwarfFile.cpp')
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/DwarfFile.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfFile.cpp b/llvm/lib/CodeGen/AsmPrinter/DwarfFile.cpp
index d62e9bcc86c..89d38a2e3ae 100644
--- a/llvm/lib/CodeGen/AsmPrinter/DwarfFile.cpp
+++ b/llvm/lib/CodeGen/AsmPrinter/DwarfFile.cpp
@@ -65,7 +65,6 @@ void DwarfFile::emitUnits(const MCSymbol *ASectionSym) {
TheU->emitHeader(ASectionSym);
DD.emitDIE(Die);
- Asm->OutStreamer.EmitLabel(TheU->getLabelEnd());
}
}
OpenPOWER on IntegriCloud