summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen
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
commite5e54c87fabc55fbb2674b98832dd00a3c9c3eaa (patch)
treec6ed401403c5a048e1b1dc16610739a517ccc2d6 /llvm/lib/CodeGen
parent1a06cc9ae62d14f8e37ba88ccbaf9aaec49aaa17 (diff)
downloadbcm5719-llvm-e5e54c87fabc55fbb2674b98832dd00a3c9c3eaa.tar.gz
bcm5719-llvm-e5e54c87fabc55fbb2674b98832dd00a3c9c3eaa.zip
Add another debugging statement here.
llvm-svn: 153072
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/FastISel.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/FastISel.cpp b/llvm/lib/CodeGen/SelectionDAG/FastISel.cpp
index 7c45f049821..520cd29970b 100644
--- a/llvm/lib/CodeGen/SelectionDAG/FastISel.cpp
+++ b/llvm/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: {
OpenPOWER on IntegriCloud