Fix llvm hang
This commit is contained in:
parent
3908a935ef
commit
861c7e74c8
@ -1539,7 +1539,7 @@ fn terminate_block(&mut self, reason: UnwindTerminateReason) -> Bx::BasicBlock {
|
|||||||
let funclet;
|
let funclet;
|
||||||
let llbb;
|
let llbb;
|
||||||
let mut bx;
|
let mut bx;
|
||||||
if base::wants_msvc_seh(self.cx.sess()) {
|
if base::wants_new_eh_instructions(self.cx.sess()) {
|
||||||
// This is a basic block that we're aborting the program for,
|
// This is a basic block that we're aborting the program for,
|
||||||
// notably in an `extern` function. These basic blocks are inserted
|
// notably in an `extern` function. These basic blocks are inserted
|
||||||
// so that we assert that `extern` functions do indeed not panic,
|
// so that we assert that `extern` functions do indeed not panic,
|
||||||
|
Loading…
Reference in New Issue
Block a user