summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
Diffstat (limited to 'llvm')
-rw-r--r--llvm/tools/dsymutil/DwarfLinker.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/tools/dsymutil/DwarfLinker.cpp b/llvm/tools/dsymutil/DwarfLinker.cpp
index c3fc92183d1..fe1cdf2a1f3 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
OpenPOWER on IntegriCloud