summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2014-03-18 02:13:23 +0000
committerDavid Blaikie <dblaikie@gmail.com>2014-03-18 02:13:23 +0000
commit8287aff1cc8e4816402cf2f9e606b3fdfcce389f (patch)
tree23a1ca46d10e7b1e73760670374155c51f399231 /llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
parentcbdf733dba49ca86f9a8a56c3ca100f3447d00db (diff)
downloadbcm5719-llvm-8287aff1cc8e4816402cf2f9e606b3fdfcce389f.tar.gz
bcm5719-llvm-8287aff1cc8e4816402cf2f9e606b3fdfcce389f.zip
DebugInfo: Avoid emitting standard opcode lengths in debug_line.dwo headers where opcodes are never used anyway
Introduce a slightly tighter wrapper around the header structure that handles this use case. (MCDwarfDwoLineTable) llvm-svn: 204101
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp')
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
index ab03753227d..8123834741a 100644
--- a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
+++ b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
@@ -2684,7 +2684,7 @@ void DwarfDebug::emitDebugLineDWO() {
assert(useSplitDwarf() && "No split dwarf?");
Asm->OutStreamer.SwitchSection(
Asm->getObjFileLowering().getDwarfLineDWOSection());
- Asm->OutStreamer.EmitLabel(SplitTypeUnitFileTable.Emit(&Asm->OutStreamer).second);
+ SplitTypeUnitFileTable.Emit(Asm->OutStreamer);
}
// Emit the .debug_str.dwo section for separated dwarf. This contains the
OpenPOWER on IntegriCloud