[all-commits] [llvm/llvm-project] 9d0327: [ASan][libc++] Turn off SSO annotations for Apple ...
Tacet via All-commits
all-commits at lists.llvm.org
Fri Jul 19 14:24:31 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 9d03275550d33636a066f84ee3aab81ad1339637
https://github.com/llvm/llvm-project/commit/9d03275550d33636a066f84ee3aab81ad1339637
Author: Tacet <4922191+AdvenamTacet at users.noreply.github.com>
Date: 2024-07-19 (Fri, 19 Jul 2024)
Changed paths:
M libcxx/include/string
Log Message:
-----------
[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
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list