[compiler-rt] Changes to support running tests for Windows arm64 asan (PR #66973)

Farzon Lotfi via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 28 07:03:17 PST 2023


================
@@ -260,6 +260,14 @@
 #  define SANITIZER_ARM64 0
 #endif
 
+#if SANITIZER_WINDOWS64 && SANITIZER_ARM64
+#  define SANITIZER_WINDOWS_ARM64 1
+#  define SANITIZER_WINDOWS_x64 0
+#else
+#  define SANITIZER_WINDOWS_ARM64 0
+#  define SANITIZER_WINDOWS_x64 1
----------------
farzonl wrote:

I would prefer a fix. Also could we use this patch instead:
https://patch-diff.githubusercontent.com/raw/llvm/llvm-project/pull/73650.patch
https://github.com/llvm/llvm-project/pull/73650

clang-format pr validation wants to indent  the `#if SANITIZER_ARM64` block didn't want to do that. my patch is functionally the same.


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


More information about the llvm-commits mailing list