commit | c9e8e91acae73c84a30311c6c745361251cf5146 | [log] [tgz] |
---|---|---|
author | Alexander Yermolovich <43973793+ayermolo@users.noreply.github.com> | Wed Feb 14 11:23:57 2024 -0800 |
committer | GitHub <noreply@github.com> | Wed Feb 14 11:23:57 2024 -0800 |
tree | fd0e0f469ab0a8ee7858ee668b632c3907e76b9a | |
parent | 6297479ff0808e7c5335ec9ec837513e1cff610f [diff] |
[BOLT][DWARF] Fix out of order rangelists/loclists (#81645) GCC can generate rangelists/loclists that are out of order. Fixed so that we don't assert, and instead generate partially optimized list. Through most code paths we do sort rnglists/loclists, but not for loclist for a path where BOLT does not modify a function. Although it's nice to have lists sorted, this implementation shouldn't rely on it. This also fixes an issue if we partially capture a list we would write out *end_of_list in helper function. So tools won't see the rest of the addresses being written out.
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.