aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode
diff options
context:
space:
mode:
authorSudharsan Veeravalli <quic_svs@quicinc.com>2025-06-04 21:00:54 +0530
committerGitHub <noreply@github.com>2025-06-04 08:30:54 -0700
commitc83c01f325e38ed52276ab3a4741178f3f411ca0 (patch)
tree641e69aac04fde639ff16f2b6dcd5d7b17b7227e /llvm/lib/Bitcode
parentd2f06b2729b6cf37c4b682f8b000ab28e46cdccb (diff)
downloadllvm-c83c01f325e38ed52276ab3a4741178f3f411ca0.zip
llvm-c83c01f325e38ed52276ab3a4741178f3f411ca0.tar.gz
llvm-c83c01f325e38ed52276ab3a4741178f3f411ca0.tar.bz2
[RISCV] Vendor Relocations for Xqci extension (#135400)
This patch implements vendor relocation support for RISC-V, starting with the Xqci extensions. Vendor Relocations need to emit the vendor symbol, and add an `R_RISCV_VENDOR` relocation against that symbol before the specific vendor relocation itself. This patch adds a `maybeAddVendorReloc` function which is called from `addReloc`, to implement this functionality. Vendor identifier symbols are cached, so that at most one is emitted per vendor identifier. Vendor identifiers symbols do not interfere with identically named symbols used by assembly. Co-authored-by: Sam Elliott <quic_aelliott@quicinc.com>
Diffstat (limited to 'llvm/lib/Bitcode')
0 files changed, 0 insertions, 0 deletions