summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2015-03-17 14:22:31 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2015-03-17 14:22:31 +0000
commit5345e420c44fb6147a9e4e127a087b0fcd015286 (patch)
treefccf485b96dc4d91e11fe00562d4c9d0ab1eeeeb /llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
parent7658b2be164a99a80b058e19b75b4d83bfe1049b (diff)
downloadbcm5719-llvm-5345e420c44fb6147a9e4e127a087b0fcd015286.tar.gz
bcm5719-llvm-5345e420c44fb6147a9e4e127a087b0fcd015286.zip
Convert the easy cases of GetTempSymbol to createTempSymbol.
In these cases no code was depending on GetTempSymbol finding an existing symbol. llvm-svn: 232478
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp')
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp2
1 files changed, 1 insertions, 1 deletions
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
OpenPOWER on IntegriCloud