[all-commits] [llvm/llvm-project] eb3be6: [LSAN] Add GetUserAddr function which returns the ...
kstoimenov via All-commits
all-commits at lists.llvm.org
Wed Feb 1 16:39:20 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: eb3be66028eac88098e0186cff80e0421949dd69
https://github.com/llvm/llvm-project/commit/eb3be66028eac88098e0186cff80e0421949dd69
Author: Kirill Stoimenov <kstoimenov at google.com>
Date: 2023-02-02 (Thu, 02 Feb 2023)
Changed paths:
M compiler-rt/lib/asan/asan_allocator.cpp
M compiler-rt/lib/hwasan/hwasan_allocator.cpp
M compiler-rt/lib/lsan/lsan_allocator.cpp
M compiler-rt/lib/lsan/lsan_common.cpp
M compiler-rt/lib/lsan/lsan_common.h
M compiler-rt/test/lsan/TestCases/Linux/use_tls_pthread_specific_static.cpp
M compiler-rt/test/lsan/TestCases/Linux/use_tls_static.cpp
M compiler-rt/test/lsan/TestCases/pointer_to_self.cpp
M compiler-rt/test/lsan/TestCases/use_after_return.cpp
M compiler-rt/test/lsan/TestCases/use_globals_initialized.cpp
M compiler-rt/test/lsan/TestCases/use_globals_uninitialized.cpp
M compiler-rt/test/lsan/TestCases/use_stacks.cpp
M compiler-rt/test/lsan/TestCases/use_unaligned.cpp
Log Message:
-----------
[LSAN] Add GetUserAddr function which returns the user visible address of an internal pointer
For HWASAN this would be the tagged address. It is the same pointer when pointer tagging is not used. Coincidently this also fixes some test which rely on comparing pointers.
Reviewed By: vitalybuka
Differential Revision: https://reviews.llvm.org/D143121
More information about the All-commits
mailing list