Skip to content

Commit 861c7e7

Browse files
committed
Fix llvm hang
1 parent 3908a93 commit 861c7e7

File tree

1 file changed

+1
-1
lines changed
  • compiler/rustc_codegen_ssa/src/mir

1 file changed

+1
-1
lines changed

compiler/rustc_codegen_ssa/src/mir/block.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1539,7 +1539,7 @@ impl<'a, 'tcx, Bx: BuilderMethods<'a, 'tcx>> FunctionCx<'a, 'tcx, Bx> {
15391539
let funclet;
15401540
let llbb;
15411541
let mut bx;
1542-
if base::wants_msvc_seh(self.cx.sess()) {
1542+
if base::wants_new_eh_instructions(self.cx.sess()) {
15431543
// This is a basic block that we're aborting the program for,
15441544
// notably in an `extern` function. These basic blocks are inserted
15451545
// so that we assert that `extern` functions do indeed not panic,

0 commit comments

Comments
 (0)