diff options
author | Devang Patel <dpatel@apple.com> | 2009-10-06 18:37:31 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2009-10-06 18:37:31 +0000 |
commit | 4598eb6214ae4b0278ddab17f20caf75542b37a3 (patch) | |
tree | 6003c3cb930e780b03878de53ba51b1024d68090 /llvm/lib/CodeGen/SelectionDAG | |
parent | 5d90d627010e1ed2d3622bf74b3820e6d610de48 (diff) | |
download | bcm5719-llvm-4598eb6214ae4b0278ddab17f20caf75542b37a3.tar.gz bcm5719-llvm-4598eb6214ae4b0278ddab17f20caf75542b37a3.zip |
Add support to handle debug info attached to an instruction.
This is not yet enabled.
llvm-svn: 83400
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG')
-rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/FastISel.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/FastISel.cpp b/llvm/lib/CodeGen/SelectionDAG/FastISel.cpp index 0bec2cf9b1f..bccff160ce9 100644 --- a/llvm/lib/CodeGen/SelectionDAG/FastISel.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/FastISel.cpp @@ -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: { |