[llvm-commits] [llvm] r153571 - /llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp

Eric Christopher echristo at apple.com
Wed Mar 28 00:34:36 PDT 2012


Author: echristo
Date: Wed Mar 28 02:34:36 2012
New Revision: 153571

URL: http://llvm.org/viewvc/llvm-project?rev=153571&view=rev
Log:
More debug output.

Modified:
    llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp

Modified: llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp?rev=153571&r1=153570&r2=153571&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp (original)
+++ llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp Wed Mar 28 02:34:36 2012
@@ -4697,7 +4697,8 @@
     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 =





More information about the llvm-commits mailing list