[all-commits] [llvm/llvm-project] 82b1e3: [HWASAN] Use InTaggableRegion in basic tagging fun...
Vitaly Buka via All-commits
all-commits at lists.llvm.org
Wed Apr 26 23:42:17 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 82b1e3b4122d8602556fbd439c7e5fc1f7f7eb4f
https://github.com/llvm/llvm-project/commit/82b1e3b4122d8602556fbd439c7e5fc1f7f7eb4f
Author: Vitaly Buka <vitalybuka at google.com>
Date: 2023-04-26 (Wed, 26 Apr 2023)
Changed paths:
M compiler-rt/lib/hwasan/hwasan.h
M compiler-rt/lib/hwasan/hwasan_allocator.cpp
Log Message:
-----------
[HWASAN] Use InTaggableRegion in basic tagging functions
For primary use-case when !HWASAN_ALIASING_MODE the function is constant
true and should be eliminated by optimizations.
In case HWASAN_ALIASING_MODE all new calls to the functions were missing
in the first place. We just not use this mode for anything but tests, so
we didn't noticed.
Addressing @thurston comment on D149293
Reviewed By: thurston
Differential Revision: https://reviews.llvm.org/D149305
More information about the All-commits
mailing list