Fix llvm hang

This commit is contained in:
Noa 2024-02-22 00:34:54 -06:00
parent 3908a935ef
commit 861c7e74c8
No known key found for this signature in database
GPG Key ID: 7F9F7DB1768C59CF
1 changed files with 1 additions and 1 deletions

View File

@ -1539,7 +1539,7 @@ impl<'a, 'tcx, Bx: BuilderMethods<'a, 'tcx>> FunctionCx<'a, 'tcx, Bx> {
let funclet;
let llbb;
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,
// notably in an `extern` function. These basic blocks are inserted
// so that we assert that `extern` functions do indeed not panic,