summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2014-02-11 01:23:52 +0000
committerDavid Blaikie <dblaikie@gmail.com>2014-02-11 01:23:52 +0000
commita47009dbd3085dab76d95280a8327a0c987c03d1 (patch)
tree40a3b7d0e95bceb420aff4b735157242982dd4c9 /llvm/lib
parente54a0bfcd34611a2d4ef7a38ec7f3a4a6f29520b (diff)
downloadbcm5719-llvm-a47009dbd3085dab76d95280a8327a0c987c03d1.tar.gz
bcm5719-llvm-a47009dbd3085dab76d95280a8327a0c987c03d1.zip
DebugInfo: Use existing symbol rather than creating it again.
llvm-svn: 201119
Diffstat (limited to 'llvm/lib')
-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 8637c4d6519..c0d128be3dc 100644
--- a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
+++ b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
@@ -778,7 +778,7 @@ DwarfCompileUnit *DwarfDebug::constructDwarfCompileUnit(DICompileUnit DIUnit) {
// is not okay to use line_table_start here.
if (Asm->MAI->doesDwarfUseRelocationsAcrossSections())
NewCU->addSectionLabel(Die, dwarf::DW_AT_stmt_list,
- UseTheFirstCU ? Asm->GetTempSymbol("section_line")
+ UseTheFirstCU ? DwarfLineSectionSym
: LineTableStartSym);
else if (UseTheFirstCU)
NewCU->addSectionOffset(Die, dwarf::DW_AT_stmt_list, 0);
OpenPOWER on IntegriCloud