[compiler-rt] [compiler-rt] Add CMake flag for AArch64 Linux with 39-bit VA. (PR #167028)

Thurston Dang via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 7 14:27:46 PST 2025


================
@@ -290,6 +290,9 @@ option(SANITIZER_USE_STATIC_TEST_CXX
   "Use static libc++ for tests." ${DEFAULT_SANITIZER_USE_STATIC_TEST_CXX})
 pythonize_bool(SANITIZER_USE_STATIC_TEST_CXX)
 
+option(SANITIZER_AARCH64_39BIT_VA
+  "Configure sanitizer allocator for 39-bit VA kernel." OFF)
----------------
thurstond wrote:

Maybe drop the "allocator", just "Configure sanitizer for 39-bit VA kernel."? It's cleaner (and keeps the door open for e.g., MSan, where the shadow mappings also need to be changed.)

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


More information about the llvm-commits mailing list