More debug output.
authorEric Christopher <echristo@apple.com>
Wed, 28 Mar 2012 07:34:36 +0000 (07:34 +0000)
committerEric Christopher <echristo@apple.com>
Wed, 28 Mar 2012 07:34:36 +0000 (07:34 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@153571 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp

index 4062ae97a492fdeb0d8d4a040a6a8d5d6c2be451..49f0431e301899f725e37badfa900d63316c207a 100644 (file)
@@ -4697,7 +4697,8 @@ SelectionDAGBuilder::visitIntrinsicCall(const CallInst &I, unsigned Intrinsic) {
     const AllocaInst *AI = dyn_cast<AllocaInst>(V);
     // Don't handle byval struct arguments or VLAs, for example.
     if (!AI) {
-      DEBUG(dbgs() << "Dropping debug location info for:\n\t" << DI << "\n");
+      DEBUG(dbgs() << "Dropping debug location info for:\n  " << DI << "\n");
+      DEBUG(dbgs() << "  Last seen at:\n    " << *V << "\n");
       return 0;
     }
     DenseMap<const AllocaInst*, int>::iterator SI =