mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-11-23 00:20:25 +00:00
s/DebugLoc.CompileUnit/DebugLoc.Scope/g
s/DebugLoc.InlinedLoc/DebugLoc.InlinedAtLoc/g git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@84054 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -385,10 +385,9 @@ bool FastISel::SelectCall(User *I) {
|
||||
|
||||
DebugLocTuple PrevLocTpl = MF.getDebugLocTuple(PrevLoc);
|
||||
DISubprogram SP(FSI->getSubprogram());
|
||||
unsigned LabelID = DW->RecordInlinedFnStart(SP,
|
||||
DICompileUnit(PrevLocTpl.CompileUnit),
|
||||
PrevLocTpl.Line,
|
||||
PrevLocTpl.Col);
|
||||
unsigned LabelID =
|
||||
DW->RecordInlinedFnStart(SP,DICompileUnit(PrevLocTpl.Scope),
|
||||
PrevLocTpl.Line, PrevLocTpl.Col);
|
||||
const TargetInstrDesc &II = TII.get(TargetInstrInfo::DBG_LABEL);
|
||||
BuildMI(MBB, DL, II).addImm(LabelID);
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user