[all-commits] [llvm/llvm-project] ac604c: [lsan][Darwin] Unconditionally strip high bits fro...
Leonard Grey via All-commits
all-commits at lists.llvm.org
Mon Jul 17 12:19:23 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: ac604cc310b70c45a07fc9edeaced4b402739af1
https://github.com/llvm/llvm-project/commit/ac604cc310b70c45a07fc9edeaced4b402739af1
Author: Leonard Grey <lgrey at chromium.org>
Date: 2023-07-17 (Mon, 17 Jul 2023)
Changed paths:
M compiler-rt/lib/lsan/lsan_common.cpp
Log Message:
-----------
[lsan][Darwin] Unconditionally strip high bits from potential pointers
The method cache stashes a mask in the high bits under some circumstances:
https://github.com/apple-oss-distributions/objc4/blob/689525d556eb3dee1ffb700423bccf5ecc501dbf/runtime/objc-cache.mm#L589
I'm hitting this now on macOS 13.4 arm64, so we can no longer rely on OBJC_FAST_IS_RW to identify potential pointers that need to be transformed
Differential Revision: https://reviews.llvm.org/D153471
More information about the All-commits
mailing list