[llvm-dev] Exceptions on Windows & MSVC

Michael Kruse via llvm-dev llvm-dev at lists.llvm.org
Mon Nov 11 15:57:01 PST 2019


Am Mo., 11. Nov. 2019 um 17:19 Uhr schrieb Reid Kleckner via llvm-dev
<llvm-dev at lists.llvm.org>:
> I wasn't able to find where we say this in the docs, but the important thing to understand is that LLVM is currently incapable of representing non-call instructions that might throw an exception.

Here: https://clang.llvm.org/docs/MSVCCompatibility.html ?

Asynchronous Exceptions (SEH): Partial. Structured exceptions (__try /
__except / __finally) mostly work on x86 and x64. LLVM does not model
asynchronous exceptions, so it is currently impossible to catch an
asynchronous exception generated in the same frame as the catching
__try.

Michael


More information about the llvm-dev mailing list