From 2e59282624e3a3afbac5365a8560d4158c4df095 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@232484 91177308-0d34-0410-b5e6-96231b3b80d8 --- tools/dsymutil/DwarfLinker.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/dsymutil/DwarfLinker.cpp b/tools/dsymutil/DwarfLinker.cpp index c3fc92183d1..fe1cdf2a1f3 100644 --- a/tools/dsymutil/DwarfLinker.cpp +++ b/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.34.1