commit | 89b52fd1aa78196abb4ec9f198e6902ccaf5f58b | [log] [tgz] |
---|---|---|
author | Siva Chandra Reddy <sivachandra@google.com> | Wed Mar 09 20:54:06 2022 +0000 |
committer | Copybara-Service <copybara-worker@google.com> | Thu Mar 10 13:32:05 2022 -0800 |
tree | 8e07623e3ec5b635cfdf5613f35f807725885bd0 | |
parent | b43bd0b14bd9fe60b6df2b174b3c00cead4de1ff [diff] |
[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 GitOrigin-RevId: 19c60980971bc227d94712d4799ded894f9f0f9a