[llvm-branch-commits] [llvm] release/19.x: [Windows SEH] Fix crash on empty seh block (#107031) (PR #107466)

via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Tue Sep 10 02:48:39 PDT 2024


R-Goc wrote:

This fixes compilation with clang-cl using /EHa. Some libraries (found this trying to compile openCV, but it is not isolated, and other people also reported this) use asynchronous exception handling. Currently the compiler will either freeze or segfault and will hit an assert if assertions are enabled. Affects clang versions 17+, support for /EHa was introduced in clang 17, along with this bug. Providing support for /EHa compilation ensures compatibility with MSVC which compiles the code without any issues. 

https://github.com/llvm/llvm-project/pull/107466


More information about the llvm-branch-commits mailing list