mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-21 02:24:22 +00:00
Convert the easy cases of GetTempSymbol to createTempSymbol.
In these cases no code was depending on GetTempSymbol finding an existing symbol. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@232478 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -927,7 +927,7 @@ DwarfDebug::collectVariableInfo(DwarfCompileUnit &TheCU, DISubprogram SP,
|
||||
DebugLocList &LocList = DotDebugLocEntries.back();
|
||||
LocList.CU = &TheCU;
|
||||
LocList.Label =
|
||||
Asm->GetTempSymbol("debug_loc", DotDebugLocEntries.size() - 1);
|
||||
Asm->createTempSymbol("debug_loc", DotDebugLocEntries.size() - 1);
|
||||
|
||||
// Build the location list for this variable.
|
||||
buildLocationList(LocList.List, Ranges);
|
||||
@ -1669,7 +1669,7 @@ void DwarfDebug::emitDebugARanges() {
|
||||
// if we know the section name up-front. For user-created sections, the
|
||||
// resulting label may not be valid to use as a label. (section names can
|
||||
// use a greater set of characters on some systems)
|
||||
Sym = Asm->GetTempSymbol("debug_end", ID);
|
||||
Sym = Asm->createTempSymbol("debug_end", ID);
|
||||
Asm->OutStreamer.SwitchSection(Section);
|
||||
Asm->OutStreamer.EmitLabel(Sym);
|
||||
}
|
||||
|
Reference in New Issue
Block a user