mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 20:51:52 +01:00
DebugInfo: Use existing symbol rather than creating it again.
llvm-svn: 201119
This commit is contained in:
parent
52c6045b5f
commit
d038af5edb
@ -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