llvm-project
4b794c8a - [ObjC] Support objc_claimAutoreleasedReturnValue (#139720)

Commit
218 days ago
[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>
Author
Parents
Loading