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

[BOLT][RISCV] Recognize mapping syms with encoded ISA #68964

Merged
merged 1 commit into from
Oct 13, 2023

Commits on Oct 13, 2023

  1. [BOLT][RISCV] Recognize mapping syms with encoded ISA

    RISC-V supports mapping syms for code that encode the exact ISA for
    which the code is valid. They have the form `$x<ISA>` where `<ISA>` is
    the textual encoding of an ISA specification.
    
    BOLT currently doesn't recognize these mapping symbol causing many
    binaries compiled with newer versions of GCC (which emits them) to not
    be properly processed. This patch makes sure BOLT recognizes them as
    code markers.
    
    Note that LLVM does not emit these kinds of mapping symbols yet so the
    test is based on a binary produced by GCC.
    mtvec committed Oct 13, 2023
    Configuration menu
    Copy the full SHA
    34834ad View commit details
    Browse the repository at this point in the history