summaryrefslogtreecommitdiff
path: root/lib/CodeGen/SelectionDAG/FastISel.cpp
diff options
context:
space:
mode:
authorEric Christopher <echristo@apple.com>2012-03-20 01:07:53 +0000
committerEric Christopher <echristo@apple.com>2012-03-20 01:07:53 +0000
commit4476bae1b42bdc7d2c87c0524148d6ad9224357b (patch)
treebc8841730b61c2597c497d94dc01074e65986494 /lib/CodeGen/SelectionDAG/FastISel.cpp
parent4e27027562d6843364e0ab744f97958b6abca08d (diff)
downloadllvm-4476bae1b42bdc7d2c87c0524148d6ad9224357b.tar.gz
llvm-4476bae1b42bdc7d2c87c0524148d6ad9224357b.tar.bz2
llvm-4476bae1b42bdc7d2c87c0524148d6ad9224357b.tar.xz
Add another debugging statement here.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@153072 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG/FastISel.cpp')
-rw-r--r--lib/CodeGen/SelectionDAG/FastISel.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/CodeGen/SelectionDAG/FastISel.cpp b/lib/CodeGen/SelectionDAG/FastISel.cpp
index 7c45f04982..520cd29970 100644
--- a/lib/CodeGen/SelectionDAG/FastISel.cpp
+++ b/lib/CodeGen/SelectionDAG/FastISel.cpp
@@ -597,6 +597,10 @@ bool FastISel::SelectCall(const User *I) {
TII.get(TargetOpcode::DBG_VALUE))
.addReg(Reg, RegState::Debug).addImm(Offset)
.addMetadata(DI->getVariable());
+ else
+ // We can't yet handle anything else here because it would require
+ // generating code, thus altering codegen because of debug info.
+ DEBUG(dbgs() << "Dropping debug info for " << DI);
return true;
}
case Intrinsic::dbg_value: {