summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/SelectionDAG
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2009-10-06 18:37:31 +0000
committerDevang Patel <dpatel@apple.com>2009-10-06 18:37:31 +0000
commit4598eb6214ae4b0278ddab17f20caf75542b37a3 (patch)
tree6003c3cb930e780b03878de53ba51b1024d68090 /llvm/lib/CodeGen/SelectionDAG
parent5d90d627010e1ed2d3622bf74b3820e6d610de48 (diff)
downloadbcm5719-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.cpp2
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: {
OpenPOWER on IntegriCloud