[all-commits] [llvm/llvm-project] 0e08a8: [HWASA] Restore LsanMetadata from D141642 Diff5
Vitaly Buka via All-commits
all-commits at lists.llvm.org
Tue Jan 17 23:46:10 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 0e08a85429567343f087fa8631c2a6a05258bf70
https://github.com/llvm/llvm-project/commit/0e08a85429567343f087fa8631c2a6a05258bf70
Author: Vitaly Buka <vitalybuka at google.com>
Date: 2023-01-17 (Tue, 17 Jan 2023)
Changed paths:
M compiler-rt/lib/hwasan/hwasan_allocator.cpp
Log Message:
-----------
[HWASA] Restore LsanMetadata from D141642 Diff5
Unlike asan, we can't use pointer arithmetics to get from user ptr to
metadata. Asan does not use CombinedAllocator::GetMetadata and store
metadata next to the user data.
More information about the All-commits
mailing list