diff options
author | Tacet <4922191+AdvenamTacet@users.noreply.github.com> | 2024-07-19 23:24:10 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-19 17:24:10 -0400 |
commit | 9d03275550d33636a066f84ee3aab81ad1339637 (patch) | |
tree | f47250d6e309ad78745908e7ebd43ff048c41d6f /clang/test/SemaCXX/warn-unsafe-buffer-usage-fixits-assign-to-array-subscr-on-ptr.cpp | |
parent | 2b371003d101ccc50081c08c7ed5fd7dcbfdef71 (diff) | |
download | llvm-9d03275550d33636a066f84ee3aab81ad1339637.zip llvm-9d03275550d33636a066f84ee3aab81ad1339637.tar.gz llvm-9d03275550d33636a066f84ee3aab81ad1339637.tar.bz2 |
[ASan][libc++] Turn off SSO annotations for Apple platforms (#96269)
This commit disables short string AddressSanitizer annotations on Apple
platforms as a temporary solution to the problem reported in #96099.
For more information on Apple's block implementation, please refer to
clang/docs/Block-ABI-Apple.rst [1]. The core issue lies in the fact
that blocks are unaware of their content, causing AddressSanitizer
errors when blocks are moved using `memmove`.
I believe - and I'm not alone - that the issue should ideally be
addressed within the block moving logic. However, this patch provides
a temporary fix until a proper resolution exists in the Blocks runtime.
[1]: https://github.com/llvm/llvm-project/blob/main/clang/docs/Block-ABI-Apple.rst
Diffstat (limited to 'clang/test/SemaCXX/warn-unsafe-buffer-usage-fixits-assign-to-array-subscr-on-ptr.cpp')
0 files changed, 0 insertions, 0 deletions