You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 28, 2025. It is now read-only.
Auto merge of rust-lang#3319 - bjorn3:some_more_shims, r=RalfJung
Directly implement native exception raise methods in miri
This implements the `_Unwind_RaiseException` function used on pretty much every unix system for starting unwinding. This allows removing the miri special case from libpanic_unwind for unix.
Windows still needs `miri_start_unwind` as SEH unwinding isn't supported by miri. Unlike DWARF unwinding, SEH preserves all stack frames until right after the do_catch function has executed. Because of this panic_unwind stack allocates the exception object. Miri can't currently model unwinding without destroying stack frames and as such will report a use-after-free of the exception object.
Copy file name to clipboardExpand all lines: src/tools/miri/ci/ci.sh
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -145,7 +145,7 @@ case $HOST_TARGET in
145
145
TEST_TARGET=s390x-unknown-linux-gnu run_tests # big-endian architecture of choice
146
146
# Partially supported targets (tier 2)
147
147
BASIC="empty_main integer vec string btreemap hello hashmap heap_alloc align"# ensures we have the basics: stdout/stderr, system allocator, randomness (for HashMap initialization)
148
-
UNIX="panic/panic concurrency/simple atomic libc-mem libc-misc libc-random env num_cpus"# the things that are very similar across all Unixes, and hence easily supported there
148
+
UNIX="panic/panic panic/unwind concurrency/simple atomic libc-mem libc-misc libc-random env num_cpus"# the things that are very similar across all Unixes, and hence easily supported there
0 commit comments