Add another debugging statement here.
authorEric Christopher <echristo@apple.com>
Tue, 20 Mar 2012 01:07:53 +0000 (01:07 +0000)
committerEric Christopher <echristo@apple.com>
Tue, 20 Mar 2012 01:07:53 +0000 (01:07 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@153072 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/SelectionDAG/FastISel.cpp

index 7c45f04982183a8339abb4dfeac036d9b0a6e5cf..520cd29970b5ff97f6d8c3a8778e1379a5403a3d 100644 (file)
@@ -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: {