llvm-capstone/libcxx
Ilya Biryukov f722db02d3
[libc++] Use correct size for deallocation of arrays in shared_ptr (#68233)
Fixes #68051.

Current implementation passes the number of `_AlignedStorage` objects
when it calls to `allocate` and the number of **bytes** on `deallocate`.
This only applies to allocations that allocate control block and the
storage together, i.e. `make_shared` and `allocate_shared`.

Found by ASan under Clang combined with `-fsized-deallocation`.
2023-10-05 15:27:58 +02:00
..
benchmarks [libc++] Optimize vector push_back to avoid continuous load and store of end pointer 2023-10-02 09:12:37 -04:00
cmake [runtimes] Fix link order of system librarires on Apple platforms (#66940) 2023-09-21 05:10:05 -04:00
docs [libc++] Make future_error constructor standard-compliant 2023-10-05 09:11:49 -04:00
include [libc++] Use correct size for deallocation of arrays in shared_ptr (#68233) 2023-10-05 15:27:58 +02:00
lib [libc++] Simplify the implementation of locale::id (#65781) 2023-09-12 19:20:27 -04:00
modules [libc++] Implement ranges::ends_with 2023-09-18 11:56:10 -07:00
src [libc++] Make future_error constructor standard-compliant 2023-10-05 09:11:49 -04:00
test [libc++] Use correct size for deallocation of arrays in shared_ptr (#68233) 2023-10-05 15:27:58 +02:00
utils [libc++] Make future_error constructor standard-compliant 2023-10-05 09:11:49 -04:00
.clang-format [libc++] Make everything in namespace std have default type visibility and hidden visibility and remove _LIBCPP_ENUM_VIS 2023-08-19 15:16:04 -07:00
.clang-tidy [libc++] Fix template parameter naming and enforce it through readability-identifier-naming 2023-07-24 19:54:12 -07:00
.gitignore
appveyor-reqs-install.cmd
appveyor.yml Remove lit's --summary flag from buildbots. 2023-08-31 14:23:51 -04:00
CMakeLists.txt [runtimes] Fix link order of system librarires on Apple platforms (#66940) 2023-09-21 05:10:05 -04:00
CREDITS.TXT [libcxx] Add mdspan/extents 2023-05-16 14:30:36 -07:00
LICENSE.TXT
TODO.TXT