Switch two simple uses of GetTempSymbol to createTempSymbol.

llvm-svn: 232484
This commit is contained in:
Rafael Espindola 2015-03-17 14:54:43 +00:00
parent ccfbbd5596
commit 3e74cb5937
1 changed files with 2 additions and 2 deletions

View File

@ -653,8 +653,8 @@ void DwarfStreamer::emitUnitRangesEntries(CompileUnit &Unit,
if (!Ranges.empty()) {
MS->SwitchSection(MC->getObjectFileInfo()->getDwarfARangesSection());
MCSymbol *BeginLabel = Asm->GetTempSymbol("Barange", Unit.getUniqueID());
MCSymbol *EndLabel = Asm->GetTempSymbol("Earange", Unit.getUniqueID());
MCSymbol *BeginLabel = Asm->createTempSymbol("Barange", Unit.getUniqueID());
MCSymbol *EndLabel = Asm->createTempSymbol("Earange", Unit.getUniqueID());
unsigned HeaderSize =
sizeof(int32_t) + // Size of contents (w/o this field