Add support to handle debug info attached to an instruction.

This is not yet enabled.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@83400 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Devang Patel
2009-10-06 18:37:31 +00:00
parent 82a47e9118
commit 60b35bd8ec
5 changed files with 27 additions and 7 deletions

View File

@@ -425,7 +425,9 @@ bool FastISel::SelectCall(User *I) {
if (AllocaLocation)
MMI->setVariableDbgInfo(DI->getVariable(), AllocaLocation, FI);
}
#ifndef ATTACH_DEBUG_INFO_TO_AN_INSN
DW->RecordVariable(DI->getVariable(), FI);
#endif
return true;
}
case Intrinsic::eh_exception: {