[all-commits] [llvm/llvm-project] 19c609: [libc] Add a resizable container with constexpr co...
Siva Chandra via All-commits
all-commits at lists.llvm.org
Thu Mar 10 13:28:42 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 19c60980971bc227d94712d4799ded894f9f0f9a
https://github.com/llvm/llvm-project/commit/19c60980971bc227d94712d4799ded894f9f0f9a
Author: Siva Chandra Reddy <sivachandra at google.com>
Date: 2022-03-10 (Thu, 10 Mar 2022)
Changed paths:
M libc/src/__support/CPP/CMakeLists.txt
A libc/src/__support/CPP/blockstore.h
M libc/src/stdlib/CMakeLists.txt
M libc/src/stdlib/atexit.cpp
M libc/src/stdlib/exit.cpp
M libc/test/src/__support/CPP/CMakeLists.txt
A libc/test/src/__support/CPP/blockstore_test.cpp
Log Message:
-----------
[libc] Add a resizable container with constexpr constructor and destructor.
The new container is used to store atexit callbacks. This way, we avoid
the possibility of the destructor of the container itself getting added
as an at exit callback.
Reviewed By: abrachet
Differential Revision: https://reviews.llvm.org/D121350
More information about the All-commits
mailing list