[llvm-commits] [llvm] r147682 - /llvm/trunk/lib/CodeGen/SjLjEHPrepare.cpp
Andrew Trick
atrick at apple.com
Fri Jan 6 13:16:28 PST 2012
Author: atrick
Date: Fri Jan 6 15:16:27 2012
New Revision: 147682
URL: http://llvm.org/viewvc/llvm-project?rev=147682&view=rev
Log:
Tracing to help investigate issues with SjLj spill code.
Modified:
llvm/trunk/lib/CodeGen/SjLjEHPrepare.cpp
Modified: llvm/trunk/lib/CodeGen/SjLjEHPrepare.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/SjLjEHPrepare.cpp?rev=147682&r1=147681&r2=147682&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/SjLjEHPrepare.cpp (original)
+++ llvm/trunk/lib/CodeGen/SjLjEHPrepare.cpp Fri Jan 6 15:16:27 2012
@@ -350,6 +350,8 @@
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;
}
More information about the llvm-commits
mailing list