[all-commits] [llvm/llvm-project] c1903b: [hwasan] Move RunFreeHooks call
Northbadge via All-commits
all-commits at lists.llvm.org
Tue May 23 10:03:12 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: c1903ba5eacd2dd8880077b5ba6449c1102de55c
https://github.com/llvm/llvm-project/commit/c1903ba5eacd2dd8880077b5ba6449c1102de55c
Author: Jin Xin Ng <njx at google.com>
Date: 2023-05-23 (Tue, 23 May 2023)
Changed paths:
M compiler-rt/lib/hwasan/hwasan_allocator.cpp
Log Message:
-----------
[hwasan] Move RunFreeHooks call
Ensures a subsequent call (via an external caller) to
__sanitizer_get_allocated_size via hooks will return a valid size.
This allows a faster version of __sanitizer_get_allocated_size
to be implemented, which can skip checks.
Test to ensure RunFreeHooks' call order will come with
__sanitizer_get_allocated_size_fast
Differential Revision: https://reviews.llvm.org/D151151
More information about the All-commits
mailing list