diff options
| author | jiang1997 <jieke@live.cn> | 2025-10-22 04:27:54 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-10-21 13:27:54 -0700 |
| commit | 116b94ce7900b79d5c4b84456da26d8e40dbae3b (patch) | |
| tree | da918566edfc0b80f09778ab7e25f4895b494671 /llvm/unittests/ADT/SmallVectorTest.cpp | |
| parent | e960f1ec47c3e0060e3031432293c8a1c99381cb (diff) | |
| download | llvm-116b94ce7900b79d5c4b84456da26d8e40dbae3b.zip llvm-116b94ce7900b79d5c4b84456da26d8e40dbae3b.tar.gz llvm-116b94ce7900b79d5c4b84456da26d8e40dbae3b.tar.bz2 | |
[CIR] Add array new cookie support (#163649)
This patch adds the minimal support for array cookies needed to enable
ClangIR generation for an array new expression that requires cookies but
does not require an explicit initializer.
This only provides the cookie support for the base Itanium CXXABI.
Different cookie calculations are required for AppleARM64, which will be
added in a subsequent patch.
Ported from ClangIR incubator PR
https://github.com/llvm/clangir/pull/1297.
This is the second PR in a series intended to address
https://github.com/llvm/llvm-project/issues/160383.
---------
Co-authored-by: Andy Kaylor <akaylor@nvidia.com>
Diffstat (limited to 'llvm/unittests/ADT/SmallVectorTest.cpp')
0 files changed, 0 insertions, 0 deletions
