mirror of
https://github.com/RPCSX/llvm.git
synced 2025-02-14 17:57:43 +00:00
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
This commit is contained in:
parent
8ed971b988
commit
efbd8e5fc0
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user