// Check and update last known location info.
if(DILoc.getNode() == PrevDILoc)
return;
- PrevDILoc = DILoc.getNode();
// DBG_VALUE instruction establishes new value.
if (MI->isDebugValue()) {
MCSymbol *Label = recordSourceLine(DILoc.getLineNumber(),
DILoc.getColumnNumber(),
DILoc.getScope().getNode());
+ PrevDILoc = DILoc.getNode();
DI->second->setDbgValueLabel(Label);
}
return;
MCSymbol *Label = recordSourceLine(DILoc.getLineNumber(),
DILoc.getColumnNumber(),
DILoc.getScope().getNode());
+ PrevDILoc = DILoc.getNode();
// update DbgScope if this instruction starts a new scope.
InsnToDbgScopeMapTy::iterator I = DbgScopeBeginMap.find(MI);