[llvm-commits] [llvm] r153072 - /llvm/trunk/lib/CodeGen/SelectionDAG/FastISel.cpp
Eric Christopher
echristo at apple.com
Mon Mar 19 18:07:53 PDT 2012
Author: echristo
Date: Mon Mar 19 20:07:53 2012
New Revision: 153072
URL: http://llvm.org/viewvc/llvm-project?rev=153072&view=rev
Log:
Add another debugging statement here.
Modified:
llvm/trunk/lib/CodeGen/SelectionDAG/FastISel.cpp
Modified: llvm/trunk/lib/CodeGen/SelectionDAG/FastISel.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/SelectionDAG/FastISel.cpp?rev=153072&r1=153071&r2=153072&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/SelectionDAG/FastISel.cpp (original)
+++ llvm/trunk/lib/CodeGen/SelectionDAG/FastISel.cpp Mon Mar 19 20:07:53 2012
@@ -597,6 +597,10 @@
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: {
More information about the llvm-commits
mailing list