commit | 254c13d872ea378f9e5569060e24c134d37a0ecb | [log] [tgz] |
---|---|---|
author | Maksim Panchenko <maks@fb.com> | Thu May 08 10:53:47 2025 -0700 |
committer | GitHub <noreply@github.com> | Thu May 08 10:53:47 2025 -0700 |
tree | ea2dc058296e5405e772fdd65668a01ae63b7da8 | |
parent | b836f96b8f51daa76f6387de364603db0fe553a7 [diff] |
[BOLT][AArch64] Patch functions targeted by optional relocs (#138750) On AArch64, we create optional/weak relocations that may not be processed due to the relocated value overflow. When the overflow happens, we used to enforce patching for all functions in the binary via --force-patch option. This PR relaxes the requirement, and enforces patching only for functions that are target of optional relocations. Moreover, if the compact code model is used, the relocation overflow is guaranteed not to happen and the patching will be skipped.
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.