mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-19 11:02:59 +02:00
Tracing to help investigate issues with SjLj spill code.
llvm-svn: 147682
This commit is contained in:
parent
07ec6ac15d
commit
3da57dd6b3
@ -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…
Reference in New Issue
Block a user