diff options
author | Andrew Trick <atrick@apple.com> | 2012-01-06 21:16:27 +0000 |
---|---|---|
committer | Andrew Trick <atrick@apple.com> | 2012-01-06 21:16:27 +0000 |
commit | 85460d0d32665347a24d34e58afc81dc49e60444 (patch) | |
tree | efbbb4dd63f0e46fc0aadd11086e275542d70b37 /llvm/lib/CodeGen/SjLjEHPrepare.cpp | |
parent | 48fd89ad143524c16962351ad41e099d61c7cebf (diff) | |
download | bcm5719-llvm-85460d0d32665347a24d34e58afc81dc49e60444.tar.gz bcm5719-llvm-85460d0d32665347a24d34e58afc81dc49e60444.zip |
Tracing to help investigate issues with SjLj spill code.
llvm-svn: 147682
Diffstat (limited to 'llvm/lib/CodeGen/SjLjEHPrepare.cpp')
-rw-r--r-- | llvm/lib/CodeGen/SjLjEHPrepare.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/SjLjEHPrepare.cpp b/llvm/lib/CodeGen/SjLjEHPrepare.cpp index 8e2f74f0392..a23aaa0b22d 100644 --- a/llvm/lib/CodeGen/SjLjEHPrepare.cpp +++ b/llvm/lib/CodeGen/SjLjEHPrepare.cpp @@ -350,6 +350,8 @@ void SjLjEHPass::lowerAcrossUnwindEdges(Function &F, for (unsigned i = 0, e = Invokes.size(); i != e; ++i) { BasicBlock *UnwindBlock = Invokes[i]->getUnwindDest(); if (UnwindBlock != BB && LiveBBs.count(UnwindBlock)) { + DEBUG(dbgs() << "SJLJ Spill: " << *Inst << " around " + << UnwindBlock->getName() << "\n"); NeedsSpill = true; break; } |