[llvm] [hwasan] Add intrinsics for fixed shadow on Aarch64 (PR #89319)
Florian Mayer via llvm-commits
llvm-commits at lists.llvm.org
Mon Apr 22 14:36:15 PDT 2024
================
@@ -2362,13 +2362,32 @@ def int_load_relative: DefaultAttrsIntrinsic<[llvm_ptr_ty], [llvm_ptr_ty, llvm_a
def int_asan_check_memaccess :
Intrinsic<[],[llvm_ptr_ty, llvm_i32_ty], [ImmArg<ArgIndex<1>>]>;
+// HWASan intrinsics to test whether a pointer is addressable.
+//===----------------------------------------------------------------------===//
+// Parameters: Shadow base (passed in a register), pointer to be checked for validity, AccessInfo
----------------
fmayer wrote:
Move this below Variant 1? (And copy to Variant 2?, And add Parameters to Variant 4?)
https://github.com/llvm/llvm-project/pull/89319
More information about the llvm-commits
mailing list