From: David Blaikie Date: Tue, 11 Feb 2014 01:23:52 +0000 (+0000) Subject: DebugInfo: Use existing symbol rather than creating it again. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=efbd8e5fc0055ed8193f6749361b6c9b4638069f;p=oota-llvm.git DebugInfo: Use existing symbol rather than creating it again. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@201119 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/AsmPrinter/DwarfDebug.cpp b/lib/CodeGen/AsmPrinter/DwarfDebug.cpp index 8637c4d6519..c0d128be3dc 100644 --- a/lib/CodeGen/AsmPrinter/DwarfDebug.cpp +++ b/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);