diff options
author | Marco Elver <elver@google.com> | 2025-10-07 20:53:24 +0200 |
---|---|---|
committer | Marco Elver <elver@google.com> | 2025-10-08 16:38:57 +0200 |
commit | ecadd9073ac161a3c0ca77c62065098b1bf6461c (patch) | |
tree | 93eedc636efa211c7f1ae88cd9d88b6be1a0d54c /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
parent | 8ba73840e7f94539ff39f78408e030d21b8f3d6f (diff) | |
download | llvm-ecadd9073ac161a3c0ca77c62065098b1bf6461c.zip llvm-ecadd9073ac161a3c0ca77c62065098b1bf6461c.tar.gz llvm-ecadd9073ac161a3c0ca77c62065098b1bf6461c.tar.bz2 |
[Clang][CodeGen] Emit !alloc_token for new expressions (#162099)
[ Reland after 7815df19deaa ("[Clang] Fix brittle print-header-json.c test") ]
For new expressions, the allocated type is syntactically known and we
can trivially emit the !alloc_token metadata. A subsequent change will
wire up the AllocToken pass and introduce appropriate tests.
---
This change is part of the following series:
1. https://github.com/llvm/llvm-project/pull/160131
2. https://github.com/llvm/llvm-project/pull/156838
3. https://github.com/llvm/llvm-project/pull/162098
4. https://github.com/llvm/llvm-project/pull/162099
5. https://github.com/llvm/llvm-project/pull/156839
6. https://github.com/llvm/llvm-project/pull/156840
7. https://github.com/llvm/llvm-project/pull/156841
8. https://github.com/llvm/llvm-project/pull/156842
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions