diff options
author | Eric Christopher <echristo@apple.com> | 2012-03-26 06:10:32 +0000 |
---|---|---|
committer | Eric Christopher <echristo@apple.com> | 2012-03-26 06:10:32 +0000 |
commit | c1e2dcdb8af73ab6403720ff7463a7163cca7a5b (patch) | |
tree | 3ee7ae2d351c892714f90580cc8c9dd2b4fe8525 | |
parent | 2e6610affdca3fb53c81dbff079c8e0076ce1538 (diff) | |
download | bcm5719-llvm-c1e2dcdb8af73ab6403720ff7463a7163cca7a5b.tar.gz bcm5719-llvm-c1e2dcdb8af73ab6403720ff7463a7163cca7a5b.zip |
Add a debug statement.
llvm-svn: 153428
-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 6ec38c57b18..4062ae97a49 100644 --- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp @@ -4696,8 +4696,10 @@ SelectionDAGBuilder::visitIntrinsicCall(const CallInst &I, unsigned Intrinsic) { V = BCI->getOperand(0); const AllocaInst *AI = dyn_cast<AllocaInst>(V); // Don't handle byval struct arguments or VLAs, for example. - if (!AI) + if (!AI) { + DEBUG(dbgs() << "Dropping debug location info for:\n\t" << DI << "\n"); return 0; + } DenseMap<const AllocaInst*, int>::iterator SI = FuncInfo.StaticAllocaMap.find(AI); if (SI == FuncInfo.StaticAllocaMap.end()) |