commit | e2d07fc3d8737c08d351e841f82911a5c3ddf433 | [log] [tgz] |
---|---|---|
author | Louis Dionne <ldionne.2@gmail.com> | Thu Oct 17 16:16:15 2024 -0400 |
committer | GitHub <noreply@github.com> | Thu Oct 17 16:16:15 2024 -0400 |
tree | bbbdec29d736e421a0bcd478eda7161b206613ef | |
parent | 8c77f4c5087ac5a8e5dc08e472cf06897689a68b [diff] |
[libc++] Mark libc++ deallocation helpers as noexcept (#110884) They already can't throw exceptions and they are called from noexcept functions, but they were not marked as noexcept. Depending on compiler inlining, this might not make a difference or this might improve the codegen a bit by removing the implicit try-catch block that Clang generates around non-noexcept functions called from noexcept functions. The original issue also mentioned that one occurrence of std::allocator::deallocate was missing noexcept, however it has since then been removed. Fixes #66100
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.