diff options
author | PiJoules <6019989+PiJoules@users.noreply.github.com> | 2024-06-14 12:11:49 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-14 12:11:49 -0700 |
commit | 005758eb6b35aaf548c3a59da860ecd2465a73f0 (patch) | |
tree | 0667163b2f0035b23bb5eebee36f8c1bc54ee792 /clang/unittests/Interpreter/InterpreterTest.cpp | |
parent | 1af1c9fb98e5c99ce2aa3a9af8ede489ea85c745 (diff) | |
download | llvm-005758eb6b35aaf548c3a59da860ecd2465a73f0.zip llvm-005758eb6b35aaf548c3a59da860ecd2465a73f0.tar.gz llvm-005758eb6b35aaf548c3a59da860ecd2465a73f0.tar.bz2 |
[libc][stdlib] Make the FreeListHeap constant-initializable (#95453)
This refactors some of the FreeListHeap, FreeList, and Block classes to
have constexpr ctors so we can constinit a global allocator that does
not require running some global function or global ctor to initialize.
This is needed to prevent worrying about initialization order and any
other module-ctor can invoke malloc without worry.
Diffstat (limited to 'clang/unittests/Interpreter/InterpreterTest.cpp')
0 files changed, 0 insertions, 0 deletions