rust/library/panic_unwind/src
bors 91f128baf7 Auto merge of #92845 - Amanieu:std_personality, r=Mark-Simulacrum
Move EH personality functions to std

These were previously in the panic_unwind crate with dummy stubs in the
panic_abort crate. However it turns out that this is insufficient: we
still need a proper personality function even with -C panic=abort to
handle the following cases:

1) `extern "C-unwind"` still needs to catch foreign exceptions with -C
panic=abort to turn them into aborts. This requires landing pads and a
personality function.

2) ARM EHABI uses the personality function when creating backtraces.
The dummy personality function in panic_abort was causing backtrace
generation to get stuck in a loop since the personality function is
responsible for advancing the unwind state to the next frame.

Fixes #41004
2022-08-28 04:16:29 +00:00
..
dummy.rs std: Get the standard library compiling for wasm64 2021-11-10 08:35:42 -08:00
emcc.rs Move personality functions to std 2022-08-23 16:12:58 +08:00
gcc.rs Remove custom frame info registration on i686-pc-windows-gnu 2022-08-23 16:12:58 +08:00
hermit.rs
lib.rs Remove custom frame info registration on i686-pc-windows-gnu 2022-08-23 16:12:58 +08:00
miri.rs
seh.rs Auto merge of #92845 - Amanieu:std_personality, r=Mark-Simulacrum 2022-08-28 04:16:29 +00:00