From 3e74cb59379c011bb5544b280e382bc8648393bc Mon Sep 17 00:00:00 2001 From: Rafael Espindola Date: Tue, 17 Mar 2015 14:54:43 +0000 Subject: [PATCH] Switch two simple uses of GetTempSymbol to createTempSymbol. llvm-svn: 232484 --- llvm/tools/dsymutil/DwarfLinker.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/llvm/tools/dsymutil/DwarfLinker.cpp b/llvm/tools/dsymutil/DwarfLinker.cpp index c3fc921..fe1cdf2 100644 --- a/llvm/tools/dsymutil/DwarfLinker.cpp +++ b/llvm/tools/dsymutil/DwarfLinker.cpp @@ -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 -- 2.7.4