diff options
author | Marina Taylor <marina_taylor@apple.com> | 2025-05-13 16:04:49 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-05-13 16:04:49 +0100 |
commit | 4b794c8aff3ba01d95bd29973f45ff776aaee3ed (patch) | |
tree | 8a14756263c68e3f41c6c355cd342697c380aa48 /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | e4b6cc314a459b803ea6b3dc8b63da38d1dd50db (diff) | |
download | llvm-4b794c8aff3ba01d95bd29973f45ff776aaee3ed.zip llvm-4b794c8aff3ba01d95bd29973f45ff776aaee3ed.tar.gz llvm-4b794c8aff3ba01d95bd29973f45ff776aaee3ed.tar.bz2 |
[ObjC] Support objc_claimAutoreleasedReturnValue (#139720)
This adds basic support for objc_claimAutoreleasedReturnValue, which is
mostly equivalent to objc_retainAutoreleasedReturnValue, with the
difference that it doesn't require the marker nop to be emitted between
it and the call it was attached to.
To achieve that, this also teaches the AArch64 attachedcall bundle
lowering to pick whether the marker should be emitted or not based on
whether the attachedcall target is claimARV or retainARV.
Co-authored-by: Ahmed Bougacha <ahmed@bougacha.org>
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions