mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-24 19:44:49 +00:00
Tracing to help investigate issues with SjLj spill code.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@147682 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
6da0ef9ca4
commit
b937b76045
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user