[compiler-rt] [compiler-rt] Add SPIR-V target support for UBSan Minimal Runtime (PR #195979)

Victor Mustya via llvm-commits llvm-commits at lists.llvm.org
Wed May 6 09:46:38 PDT 2026


================
@@ -314,6 +318,12 @@
 #  define SANITIZER_NVPTX 0
 #endif
 
+#if defined(__SPIRV__)
+#  define SANITIZER_SPIRV 1
+#else // defined(__SPIRV__)
----------------
vmustya wrote:

Fixed: https://github.com/llvm/llvm-project/pull/195979/commits/06ffdd645b691ea427baa13198d61f2b98243561

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


More information about the llvm-commits mailing list