| commit | 848b20de76def980d02bb17bcb0bdc95381876df | [log] [tgz] |
|---|---|---|
| author | Louis Dionne <ldionne.2@gmail.com> | Thu Oct 03 11:45:58 2024 -0400 |
| committer | GitHub <noreply@github.com> | Thu Oct 03 11:45:58 2024 -0400 |
| tree | 2abae1fcd6e714decf0d008f569c2161b25e02cd | |
| parent | 313ad85dfa40a18f2edefd7ce2edc0528d5a554a [diff] |
[libc++] Correctly handle custom deleters in hardened unique_ptr<T[]> (#110685) It turns out that we can never do bounds-checking for unique_ptrs with custom deleters, except when converting from a unique_ptr with a default deleter to one with a custom deleter. If we had an API like `std::make_unique` that allowed passing a custom deleter, we could at least get bounds checking when the unique_ptr is created through those APIs, but for now that is not possible. Fixes #110683
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.