diff options
author | David Blaikie <dblaikie@gmail.com> | 2014-02-11 01:23:52 +0000 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2014-02-11 01:23:52 +0000 |
commit | efbd8e5fc0055ed8193f6749361b6c9b4638069f (patch) | |
tree | 9b7e52056b46d15e1a412b01d0c0517c68725185 /lib | |
parent | 8ed971b988512f059ac2cdf11f469b04d54f4f11 (diff) | |
download | llvm-efbd8e5fc0055ed8193f6749361b6c9b4638069f.tar.gz llvm-efbd8e5fc0055ed8193f6749361b6c9b4638069f.tar.bz2 llvm-efbd8e5fc0055ed8193f6749361b6c9b4638069f.tar.xz |
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
Diffstat (limited to 'lib')
-rw-r--r-- | lib/CodeGen/AsmPrinter/DwarfDebug.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/AsmPrinter/DwarfDebug.cpp b/lib/CodeGen/AsmPrinter/DwarfDebug.cpp index 8637c4d651..c0d128be3d 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); |