[compiler-rt] [RISCV][sanitizer] Fix sanitizer support for different virtual memory layout (PR #66743)

via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 19 11:45:55 PDT 2023


================
@@ -107,7 +107,7 @@ static const uint64_t kMIPS32_ShadowOffset32 = 0x0aaa0000;
 static const uint64_t kMIPS64_ShadowOffset64 = 1ULL << 37;
 static const uint64_t kAArch64_ShadowOffset64 = 1ULL << 36;
 static const uint64_t kLoongArch64_ShadowOffset64 = 1ULL << 46;
-static const uint64_t kRISCV64_ShadowOffset64 = 0xd55550000;
+static const uint64_t kRISCV64_ShadowOffset64 = kDynamicShadowSentinel;
----------------
PiJoules wrote:

Where is this defined?

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


More information about the llvm-commits mailing list