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

[libunwind] Add GCS support for AArch64 #99335

Merged
merged 4 commits into from
Aug 4, 2024

Commits on Jul 17, 2024

  1. [libunwind] Add GCS support for AArch64

    AArch64 GCS (Guarded Control Stack) is similar enough to CET that we
    can re-use the existing code that is guarded by _LIBUNWIND_USE_CET,
    so long as we also add defines to locate the GCS stack and pop the
    entries from it. We also need the jumpto function to exit using br
    instead of ret, to prevent it from popping the GCS stack.
    
    GCS support is enabled using the LIBUNWIND_ENABLE_GCS cmake option.
    This enables -mbranch-protection=standard, which enables GCS. For
    the places we need to use GCS instructions we use the target
    attribute, as there's not a command-line option to enable a specific
    architecture extension.
    john-brawn-arm committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    e0f7186 View commit details
    Browse the repository at this point in the history

Commits on Jul 19, 2024

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

Commits on Aug 4, 2024

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