1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-26 04:32:44 +01:00

Add another debug statement.

llvm-svn: 152843
This commit is contained in:
Eric Christopher 2012-03-15 21:33:41 +00:00
parent 18f776b323
commit 8e8e61bae8

View File

@ -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