git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@232484
91177308-0d34-0410-b5e6-
96231b3b80d8
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