mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-15 22:28:18 +00:00
don't use getDWLabel("label" anymore, always go through MMI.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98485 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -1972,7 +1972,7 @@ void DwarfDebug::endScope(const MachineInstr *MI) {
|
|||||||
if (I == DbgScopeEndMap.end())
|
if (I == DbgScopeEndMap.end())
|
||||||
return;
|
return;
|
||||||
|
|
||||||
MCSymbol *Label = getDWLabel("label", MMI->NextLabelID());
|
MCSymbol *Label = MMI->getLabelSym(MMI->NextLabelID());
|
||||||
Asm->OutStreamer.EmitLabel(Label);
|
Asm->OutStreamer.EmitLabel(Label);
|
||||||
|
|
||||||
SmallVector<DbgScope*, 2> &SD = I->second;
|
SmallVector<DbgScope*, 2> &SD = I->second;
|
||||||
@@ -2220,7 +2220,7 @@ MCSymbol *DwarfDebug::recordSourceLine(unsigned Line, unsigned Col, MDNode *S) {
|
|||||||
assert(0 && "Unexpected scope info");
|
assert(0 && "Unexpected scope info");
|
||||||
|
|
||||||
unsigned Src = GetOrCreateSourceID(Dir, Fn);
|
unsigned Src = GetOrCreateSourceID(Dir, Fn);
|
||||||
MCSymbol *Label = getDWLabel("label", MMI->NextLabelID());
|
MCSymbol *Label = MMI->getLabelSym(MMI->NextLabelID());
|
||||||
Lines.push_back(SrcLineInfo(Line, Col, Src, Label));
|
Lines.push_back(SrcLineInfo(Line, Col, Src, Label));
|
||||||
|
|
||||||
if (TimePassesIsEnabled)
|
if (TimePassesIsEnabled)
|
||||||
|
Reference in New Issue
Block a user