rust/compiler/rustc_codegen_ssa/src/back
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
..
rpath Remove LibSource 2021-07-05 10:49:07 +02:00
archive.rs Introduce an ArchiveBuilderBuilder 2022-07-28 09:08:47 +00:00
command.rs Reduce usage of Symbol in the linker code 2022-06-28 18:38:36 +00:00
link.rs Rollup merge of #99993 - petrochenkov:linkdated, r=bjorn3 2022-08-24 18:20:07 +02:00
linker.rs Add issue reference 2022-07-31 10:33:44 +00:00
lto.rs Merge new_metadata into codegen_allocator 2022-04-30 21:20:08 +02:00
metadata.rs linker: Update some outdated comments 2022-07-31 22:09:41 +03:00
mod.rs Use the object crate for metadata reading 2021-05-07 18:48:58 +02:00
rpath.rs pass -Wl,-z,origin to set DF_ORIGIN when using rpath 2021-12-17 11:27:14 +00:00
symbol_export.rs Fix handling of rust_eh_personality in reachable_non_generics 2022-08-28 06:38:01 +08:00
write.rs errors: move translation logic into module 2022-08-15 12:26:35 +01:00