projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
48fd89a
)
Tracing to help investigate issues with SjLj spill code.
author
Andrew Trick
<atrick@apple.com>
Fri, 6 Jan 2012 21:16:27 +0000
(21:16 +0000)
committer
Andrew Trick
<atrick@apple.com>
Fri, 6 Jan 2012 21:16:27 +0000
(21:16 +0000)
llvm-svn: 147682
llvm/lib/CodeGen/SjLjEHPrepare.cpp
patch
|
blob
|
history
diff --git
a/llvm/lib/CodeGen/SjLjEHPrepare.cpp
b/llvm/lib/CodeGen/SjLjEHPrepare.cpp
index
8e2f74f
..
a23aaa0
100644
(file)
--- 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;
}