| commit | eaa71a97f9155ea9df33141ef2fb369dc8fc464f | [log] [tgz] |
|---|---|---|
| author | Vitaly Buka <vitalybuka@google.com> | Mon Mar 11 12:07:28 2024 -0700 |
| committer | GitHub <noreply@github.com> | Mon Mar 11 12:07:28 2024 -0700 |
| tree | 1c9341938fe2d83bc0fdb2a50404735d079fec0b | |
| parent | 08a9207f947b8b022d70f8ee7eeeda7acc6aac76 [diff] |
[clang] Add optional pass to remove UBSAN traps using PGO (#84214) With #83471 it reduces UBSAN overhead from 44% to 6%. Measured as "Geomean difference" on "test-suite/MultiSource/Benchmarks" with PGO build. On real large server binary we see 95% of code is still instrumented, with 10% -> 1.5% UBSAN overhead improvements. We can pass this test only with subset of UBSAN, so base overhead is smaller. We have followup patches to improve it even further.
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.