[PATCH] D102817: [Windows SEH]: HARDWARE EXCEPTION HANDLING (MSVC -EHa) - Part 2
Yuanxiang Ye via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 18 17:10:29 PDT 2023
hexhexd added a comment.
Hello,
I'm trying to move our code base from using ancient LLVM 11 to main branch LLVM. I experienced clang crashes with below messages while using an assert enabled LLVM build. The problem goes away if I remove `/EHa` from our cmake.
A single unwind edge may only enter one EH pad
invoke void @llvm.seh.scope.end()
to label %"??1?$_Compressed_pair at V?$allocator at D@std@@V?$_String_val at U?$_Simple_types at D@std@@@2@$00 at std@@QEAA at XZ.exit6.i" unwind label %ehcleanup.i5.i, !dbg !4121
in function ??1CrashdumpCollecter at debugging@skyfall@@QEAA at XZ
fatal error: error in backend: Broken function found, compilation aborted!
The crash happened in
#6 0x00007ff76757bf80 `anonymous namespace'::VerifierLegacyPass::runOnFunction C:\dev\llvm-project\llvm\lib\IR\Verifier.cpp:6532:0
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D102817/new/
https://reviews.llvm.org/D102817
More information about the llvm-commits
mailing list