| commit | a3d027f92308890c9b1ace7b8a5a7f7d69ce5f0e | [log] [tgz] |
|---|---|---|
| author | Teresa Johnson <tejohnson@google.com> | Fri May 09 16:28:49 2025 -0700 |
| committer | GitHub <noreply@github.com> | Fri May 09 16:28:49 2025 -0700 |
| tree | 45ba68d909ef66ae61e50d2ce273ad854e995a5b | |
| parent | 34ecc4b9b8329a833234a84e4cf81c2b7741b4de [diff] |
[MemProf] Disable alloc context in combined summary for ndebug builds (#139161) Since we currently only use the context information in the alloc info summary in the LTO backend for assertion checking, there is no need to write this into the combined summary index for distributed ThinLTO for NDEBUG builds. Put this under a new -combined-index-memprof-context option which is off by default for NDEBUG. The advantage is that we save time (not having to sort in preparation for building the radix trees), and space in the generated bitcode files. We could also do so for the callsite info records, but those are smaller and less expensive to prepare.
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.