From 5345e420c44fb6147a9e4e127a087b0fcd015286 Mon Sep 17 00:00:00 2001 From: Rafael Espindola Date: Tue, 17 Mar 2015 14:22:31 +0000 Subject: Convert the easy cases of GetTempSymbol to createTempSymbol. In these cases no code was depending on GetTempSymbol finding an existing symbol. llvm-svn: 232478 --- llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp') diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp b/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp index 029804c158a..eff65255288 100644 --- a/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp +++ b/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp @@ -380,7 +380,7 @@ void DwarfCompileUnit::addScopeRangeList(DIE &ScopeDIE, TLOF.getDwarfRangesSection()->getBeginSymbol(); RangeSpanList List( - Asm->GetTempSymbol("debug_ranges", DD->getNextRangeNumber()), + Asm->createTempSymbol("debug_ranges", DD->getNextRangeNumber()), std::move(Range)); // Under fission, ranges are specified by constant offsets relative to the -- cgit v1.2.3