[llvm] [hwasan] Remove memory attrs from instrumented functions. (PR #92974)

Evgenii Stepanov via llvm-commits llvm-commits at lists.llvm.org
Tue May 21 17:05:31 PDT 2024


================
@@ -1589,6 +1589,10 @@ void HWAddressSanitizer::sanitizeFunction(Function &F,
 
   assert(!ShadowBase);
 
+  F.removeFnAttr(llvm::Attribute::Memory);
----------------
eugenis wrote:

done

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


More information about the llvm-commits mailing list