commit | c83c01f325e38ed52276ab3a4741178f3f411ca0 | [log] [tgz] |
---|---|---|
author | Sudharsan Veeravalli <quic_svs@quicinc.com> | Wed Jun 04 21:00:54 2025 +0530 |
committer | GitHub <noreply@github.com> | Wed Jun 04 08:30:54 2025 -0700 |
tree | 641e69aac04fde639ff16f2b6dcd5d7b17b7227e | |
parent | d2f06b2729b6cf37c4b682f8b000ab28e46cdccb [diff] |
[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>
Welcome to the LLVM project!
This repository contains the source code for LLVM, a toolkit for the construction of highly optimized compilers, optimizers, and run-time environments.
The LLVM project has multiple components. The core of the project is itself called “LLVM”. This contains all of the tools, libraries, and header files needed to process intermediate representations and convert them into object files. Tools include an assembler, disassembler, bitcode analyzer, and bitcode optimizer.
C-like languages use the Clang frontend. This component compiles C, C++, Objective-C, and Objective-C++ code into LLVM bitcode -- and from there into object files, using LLVM.
Other components include: the libc++ C++ standard library, the LLD linker, and more.
Consult the Getting Started with LLVM page for information on building and running LLVM.
For information on how to contribute to the LLVM project, please take a look at the Contributing to LLVM guide.
Join the LLVM Discourse forums, Discord chat, LLVM Office Hours or Regular sync-ups.
The LLVM project has adopted a code of conduct for participants to all modes of communication within the project.