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:
Rafael Espindola 2015-03-17 14:58:47 +00:00
parent 2e59282624
commit 6fe99b7d5c
2 changed files with 4 additions and 4 deletions

View File

@ -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);

View File

@ -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.