[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:47:22 PDT 2023


================
@@ -186,7 +189,7 @@
 #  elif SANITIZER_FREEBSD && defined(__aarch64__)
 #    define ASAN_SHADOW_OFFSET_CONST 0x0000800000000000
 #  elif SANITIZER_RISCV64
-#    define ASAN_SHADOW_OFFSET_CONST 0x0000000d55550000
+#    define ASAN_SHADOW_OFFSET_DYNAMIC
----------------
PiJoules wrote:

This doesn't seem to have a value?

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


More information about the llvm-commits mailing list