summaryrefslogtreecommitdiff
path: root/tools/dsymutil
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2015-03-17 14:54:43 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2015-03-17 14:54:43 +0000
commit2e59282624e3a3afbac5365a8560d4158c4df095 (patch)
treec278aa95dc21bacbdcb355c0e75e6e9b85d563a8 /tools/dsymutil
parentcebed4aaf1fd1c60ac40b875bcf80f144bb2ebab (diff)
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
Diffstat (limited to 'tools/dsymutil')
-rw-r--r--tools/dsymutil/DwarfLinker.cpp4
1 files 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