[all-commits] [llvm/llvm-project] 0365cc: [HWASAN][LSAN] Fix false positive memory leak repo...
kstoimenov via All-commits
all-commits at lists.llvm.org
Tue Jul 18 12:04:48 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 0365ccd2a1b3900491eef30b784f2ea13a4d073c
https://github.com/llvm/llvm-project/commit/0365ccd2a1b3900491eef30b784f2ea13a4d073c
Author: Kirill Stoimenov <kstoimenov at google.com>
Date: 2023-07-18 (Tue, 18 Jul 2023)
Changed paths:
M compiler-rt/lib/lsan/lsan_common.cpp
A compiler-rt/test/lsan/TestCases/user_pointer.cpp
Log Message:
-----------
[HWASAN][LSAN] Fix false positive memory leak reports on X86_64
Before this patch when running HWASAN on x86_64 with with memory tagging support we got a bunch of false memory leak reports. The reason for that is that the heuristic used to detect if an 8 bytes could be a user pointer was not valid when memory tagging is used as the top byte could contain non-zero information.
Reviewed By: vitalybuka
Differential Revision: https://reviews.llvm.org/D155338
More information about the All-commits
mailing list