diff options
author | Eric Christopher <echristo@apple.com> | 2012-03-15 21:33:41 +0000 |
---|---|---|
committer | Eric Christopher <echristo@apple.com> | 2012-03-15 21:33:41 +0000 |
commit | be7a1016fc7609ab0e83458e17e856040b150b43 (patch) | |
tree | 1522d8664bca43fc32b19de0330fed035ede766b /llvm/lib/CodeGen | |
parent | 6a0c679762207bcc37bbe4ef8d3be24a8db14501 (diff) | |
download | bcm5719-llvm-be7a1016fc7609ab0e83458e17e856040b150b43.tar.gz bcm5719-llvm-be7a1016fc7609ab0e83458e17e856040b150b43.zip |
Add another debug statement.
llvm-svn: 152843
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp index 3a79e36dc2e..2ac9655dd05 100644 --- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp @@ -4561,8 +4561,10 @@ SelectionDAGBuilder::visitIntrinsicCall(const CallInst &I, unsigned Intrinsic) { const DbgDeclareInst &DI = cast<DbgDeclareInst>(I); MDNode *Variable = DI.getVariable(); const Value *Address = DI.getAddress(); - if (!Address || !DIVariable(Variable).Verify()) + if (!Address || !DIVariable(Variable).Verify()) { + DEBUG(dbgs() << "Dropping debug info for " << DI << "\n"); return 0; + } // Build an entry in DbgOrdering. Debug info input nodes get an SDNodeOrder // but do not always have a corresponding SDNode built. The SDNodeOrder |