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

Merge upstream-llvm-merge branch #1

Commits on Sep 17, 2024

  1. [CHERI-RISC-V] Baseline test for function entry directives

    We are emitting the local function symbol alias in a slightly weird
    order, which will be fixed in the following commits.
    arichardson committed Sep 17, 2024
    Configuration menu
    Copy the full SHA
    9bcde42 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    032e356 View commit details
    Browse the repository at this point in the history
  3. [CHERI] Emit $eh_alias label .type directive in correct location

    Match the .L<fn>$local: approach and emit it after the symbol.
    arichardson committed Sep 17, 2024
    Configuration menu
    Copy the full SHA
    b92e04d View commit details
    Browse the repository at this point in the history
  4. [CHERI] Reuse the $local function symbol for landing pads

    There is no need to define our own non-preemptible local symbol since
    upstream now has the $local non-preemptible symbol. Since the latest
    merge it also includes my upstreamed fixes to always have the right type
    and size attributes, so it is safe to use here.
    arichardson committed Sep 17, 2024
    Configuration menu
    Copy the full SHA
    fd7d104 View commit details
    Browse the repository at this point in the history
  5. [ELF][CHERI] Rewrite exception-table test in LLVM IR

    This avoids one dependency on clang and will hopefully allow removing it
    entirely soon. Ideally this would be written as an assembly test but
    adding the right directives for EH tables is tedious, so I went for
    IR instead.
    arichardson committed Sep 17, 2024
    Configuration menu
    Copy the full SHA
    6205600 View commit details
    Browse the repository at this point in the history
  6. [CHERI] Ensure we always emit the $local symbol for exception handling

    Without it, we would crash if GV.canBenefitFromLocalAlias() returns
    false (e.g. when the function is not dso_local).
    arichardson committed Sep 17, 2024
    Configuration menu
    Copy the full SHA
    6951ec7 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    30eec18 View commit details
    Browse the repository at this point in the history