[llvm] r201119 - DebugInfo: Use existing symbol rather than creating it again.

David Blaikie dblaikie at gmail.com
Mon Feb 10 17:23:52 PST 2014


Author: dblaikie
Date: Mon Feb 10 19:23:52 2014
New Revision: 201119

URL: http://llvm.org/viewvc/llvm-project?rev=201119&view=rev
Log:
DebugInfo: Use existing symbol rather than creating it again.

Modified:
    llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.cpp

Modified: llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.cpp?rev=201119&r1=201118&r2=201119&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.cpp (original)
+++ llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.cpp Mon Feb 10 19:23:52 2014
@@ -778,7 +778,7 @@ DwarfCompileUnit *DwarfDebug::constructD
     // 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);





More information about the llvm-commits mailing list