[llvm] [ASan][RISCV] Teach AddressSanitizer to support indexed load/store. (PR #160443)
Hank Chang via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 24 20:30:50 PDT 2025
================
@@ -32,14 +32,19 @@ class InterestingMemoryOperand {
Value *MaybeEVL;
// The Stride Value, if we're looking at a strided load/store.
Value *MaybeStride;
+ // The Offset Value, if we're looking at a indexed load/store. The
+ // offset actually means byte-offset instead of array index.
+ Value *MaybeOffset;
----------------
HankChang736 wrote:
Thank you for reviewing. Sure, I think name it `MaybeByteOffset` is more specific.
https://github.com/llvm/llvm-project/pull/160443
More information about the llvm-commits
mailing list