mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-01 15:11:24 +00:00
Convert the last 4 users of GetTempSymbol to createTempSymbol.
Despite using the same name these are unrelated. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@232485 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
2e59282624
commit
6fe99b7d5c
@ -1422,8 +1422,8 @@ void DwarfDebug::emitDebugPubSection(
|
||||
|
||||
// Emit the header.
|
||||
Asm->OutStreamer.AddComment("Length of Public " + Name + " Info");
|
||||
MCSymbol *BeginLabel = Asm->GetTempSymbol("pub" + Name + "_begin", ID);
|
||||
MCSymbol *EndLabel = Asm->GetTempSymbol("pub" + Name + "_end", ID);
|
||||
MCSymbol *BeginLabel = Asm->createTempSymbol("pub" + Name + "_begin", ID);
|
||||
MCSymbol *EndLabel = Asm->createTempSymbol("pub" + Name + "_end", ID);
|
||||
Asm->EmitLabelDifference(EndLabel, BeginLabel, 4);
|
||||
|
||||
Asm->OutStreamer.EmitLabel(BeginLabel);
|
||||
|
@ -919,9 +919,9 @@ void DwarfStreamer::emitPubSectionForUnit(
|
||||
// Start the dwarf pubnames section.
|
||||
Asm->OutStreamer.SwitchSection(Sec);
|
||||
MCSymbol *BeginLabel =
|
||||
Asm->GetTempSymbol("pub" + SecName + "_begin", Unit.getUniqueID());
|
||||
Asm->createTempSymbol("pub" + SecName + "_begin", Unit.getUniqueID());
|
||||
MCSymbol *EndLabel =
|
||||
Asm->GetTempSymbol("pub" + SecName + "_end", Unit.getUniqueID());
|
||||
Asm->createTempSymbol("pub" + SecName + "_end", Unit.getUniqueID());
|
||||
|
||||
bool HeaderEmitted = false;
|
||||
// Emit the pubnames for this compilation unit.
|
||||
|
Loading…
Reference in New Issue
Block a user