Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move EH personality functions to std #92845

Merged
merged 7 commits into from
Aug 28, 2022
Merged

Commits on Aug 23, 2022

  1. Configuration menu
    Copy the full SHA
    db94dbc View commit details
    Browse the repository at this point in the history
  2. Move 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.
    Amanieu committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    5ff0876 View commit details
    Browse the repository at this point in the history
  3. Remove custom frame info registration on i686-pc-windows-gnu

    The indirection is no longer needed since we always link to libgcc
    even when the panic_abort runtime is used. Instead we can just call
    the libgcc functions directly.
    Amanieu committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    c110329 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    a54ddd4 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    2a24a69 View commit details
    Browse the repository at this point in the history
  6. Fix test

    Amanieu committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    d8c8148 View commit details
    Browse the repository at this point in the history

Commits on Aug 27, 2022

  1. Configuration menu
    Copy the full SHA
    a7e4794 View commit details
    Browse the repository at this point in the history