[llvm] [hwasan] Optimize outlined memaccess for fixed shadow on Aarch64 (PR #88544)

Thurston Dang via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 12 14:17:24 PDT 2024


================
@@ -2367,6 +2367,10 @@ def int_hwasan_check_memaccess :
 def int_hwasan_check_memaccess_shortgranules :
   Intrinsic<[], [llvm_ptr_ty, llvm_ptr_ty, llvm_i32_ty],
             [ImmArg<ArgIndex<2>>]>;
+def int_hwasan_check_memaccess_fixedshadow_shortgranules :
----------------
thurstond wrote:

To discard the arguments, I ended up adding getFixedShadowBase() to the HWAddressSanitizer pass

https://github.com/llvm/llvm-project/pull/88544


More information about the llvm-commits mailing list