Windows: Unhandled exceptions from C++ backend cause jank crash #796
Replies: 4 comments 1 reply
-
|
LLVM issue reported at llvm/llvm-project#126365 The issue also affects the test suite, which crashes on tests that throw exceptions: As a workaround, the failing test is excluded using |
Beta Was this translation helpful? Give feedback.
-
|
This issue also affects some bash tests, and those have been disabled as such in their corresponding test files:
|
Beta Was this translation helpful? Give feedback.
-
|
This issue also affects some
|
Beta Was this translation helpful? Give feedback.
-
|
An LLVM support issue has been opened to track support for Windows SEH without the ORC runtime: llvm/llvm-project#163503. The issue includes an initial sketch for how the SEH plugin could look in LLVM 23 While testing the plugin against the full jank test suite, I ran into missing support pieces and opened follow up fixes in lhames/llvm-project#5 on top of the original sketch branch, pending review and guidance. The changes have also been backported to the Jank LLVM 22 snapshot in jank-lang/llvm-project#3. When jank is built against this version, the full test suite now passes, including the exception related tests that were previously failing without these fixes. While waiting for Lang to provide guidance on how these changes should be incorporated into LLVM 23 or potentially backported to the official LLVM 22 branch, there are a couple of short term options we could consider:
Hi @jeaye, do you have a preference for how these fixes should be applied to the jank LLVM 22 snapshot while we wait for the upstream LLVM direction? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Issue Description
(Refilling of ikappaki#2, to track llvm compiler missing exception support on Windows, as discussed in #716)
Jank on Windows throws an error or crashes when an exception is raised from the C++ backend.
Reproduction Steps
To reproduce, run the Jank REPL and define a lambda that throws an exception:
jank health check
Stack trace
OS Version Information
MS-Windows 11
I acknowledge that:
```) on separate lines.Beta Was this translation helpful? Give feedback.
All reactions