mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-12 13:38:21 +00:00
Enable code to emit dbg.declare as DEBUG_VALUE
comments (fast isel, X86). This doesn't seem to break any functionality, but will introduce cases where -g affects the generated code. I'll be fixing that. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@93811 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -343,6 +343,9 @@ bool FastISel::SelectCall(User *I) {
|
||||
if (MDNode *Dbg = DI->getMetadata("dbg"))
|
||||
MMI->setVariableDbgInfo(DI->getVariable(), FI, Dbg);
|
||||
}
|
||||
// Building the map above is target independent. Generating DEBUG_VALUE
|
||||
// inline is target dependent; do this now.
|
||||
(void)TargetSelectInstruction(cast<Instruction>(I));
|
||||
return true;
|
||||
}
|
||||
case Intrinsic::eh_exception: {
|
||||
|
Reference in New Issue
Block a user