| commit | 893fa062803458bee8e374e0f30e5e2225155a5c | [log] [tgz] |
|---|---|---|
| author | Jesse Huang <jesse.huang@sifive.com> | Sat Jun 07 23:51:08 2025 +0800 |
| committer | GitHub <noreply@github.com> | Sat Jun 07 23:51:08 2025 +0800 |
| tree | 338b13d2d66a0bf4bf5c3b60dea936dc0a8305d5 | |
| parent | d5704097fcc2128bb8c97867e090543024a936d0 [diff] |
[RISC-V] Adjust trampoline code for branch control flow protection (#141949) Trampoline will use a alternative sequence when branch CFI is on. The stack of the test is organized as follow ``` 56 $ra 44 $a0 f 36 $a1 p 32 00038067 jalr t2 28 010e3e03 ld t3, 16(t3) 24 018e3383 ld t2, 24(t3) 20 00000e17 auipc t3, 0 sp+16 00000023 lpad 0 ```
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.