================ @@ -314,6 +318,12 @@ # define SANITIZER_NVPTX 0 #endif +#if defined(__SPIRV__) +# define SANITIZER_SPIRV 1 +#else // defined(__SPIRV__) ---------------- jhuber6 wrote: Not consistent https://github.com/llvm/llvm-project/pull/195979