mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-02 17:09:05 +00:00
don't use getDWLabel("label" anymore, always go through MMI.
llvm-svn: 98485
This commit is contained in:
parent
49130c09d0
commit
5af59dfd1b
@ -1972,7 +1972,7 @@ void DwarfDebug::endScope(const MachineInstr *MI) {
|
||||
if (I == DbgScopeEndMap.end())
|
||||
return;
|
||||
|
||||
MCSymbol *Label = getDWLabel("label", MMI->NextLabelID());
|
||||
MCSymbol *Label = MMI->getLabelSym(MMI->NextLabelID());
|
||||
Asm->OutStreamer.EmitLabel(Label);
|
||||
|
||||
SmallVector<DbgScope*, 2> &SD = I->second;
|
||||
@ -2220,7 +2220,7 @@ MCSymbol *DwarfDebug::recordSourceLine(unsigned Line, unsigned Col, MDNode *S) {
|
||||
assert(0 && "Unexpected scope info");
|
||||
|
||||
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));
|
||||
|
||||
if (TimePassesIsEnabled)
|
||||
|
Loading…
Reference in New Issue
Block a user