[LSAN] Mask out tags from pointers on ARM in MaybeUserPointer heuristic
authorKirill Stoimenov <kstoimenov@google.com>
Sat, 18 Feb 2023 00:02:06 +0000 (00:02 +0000)
committerKirill Stoimenov <kstoimenov@google.com>
Sat, 18 Feb 2023 03:37:56 +0000 (03:37 +0000)
commitb4b5006be54e8f87b690e1ef3eda47b5d52a6128
tree32f076d7cd4c37f3e797c4451182683371fdae05
parent890146b19206827bc48ee1ae1dc1534ff2ff18d7
[LSAN] Mask out tags from pointers on ARM in MaybeUserPointer heuristic

This caused false positives because the existing logic was not taking into account that pointers could have a tag in them.

Reviewed By: vitalybuka

Differential Revision: https://reviews.llvm.org/D144305
compiler-rt/lib/lsan/lsan_common.cpp