[compiler-rt] fix window i386 regression (PR #73650)
via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 28 06:19:11 PST 2023
github-actions[bot] wrote:
<!--LLVM CODE FORMAT COMMENT: {clang-format}-->
:warning: C/C++ code formatter, clang-format found issues in your code. :warning:
<details>
<summary>
You can test this locally with the following command:
</summary>
``````````bash
git-clang-format --diff 01091fd101ee78fb8068a2b916ae007a4873d66a ee22050679917362cf888b457634fc214fe2992f -- compiler-rt/lib/sanitizer_common/sanitizer_platform.h
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/compiler-rt/lib/sanitizer_common/sanitizer_platform.h b/compiler-rt/lib/sanitizer_common/sanitizer_platform.h
index e816702ce5..33d270e7b6 100644
--- a/compiler-rt/lib/sanitizer_common/sanitizer_platform.h
+++ b/compiler-rt/lib/sanitizer_common/sanitizer_platform.h
@@ -263,28 +263,28 @@
#if SANITIZER_WINDOWS64 && SANITIZER_ARM64
# define SANITIZER_WINDOWS_ARM64 1
# define SANITIZER_WINDOWS_x64 0
-#if SANITIZER_WINDOWS64 && !SANITIZER_ARM64
-# define SANITIZER_WINDOWS_ARM64 0
-# define SANITIZER_WINDOWS_x64 1
-#endif
+# if SANITIZER_WINDOWS64 && !SANITIZER_ARM64
+# define SANITIZER_WINDOWS_ARM64 0
+# define SANITIZER_WINDOWS_x64 1
+# endif
-#if SANITIZER_SOLARIS && SANITIZER_WORDSIZE == 32
-# define SANITIZER_SOLARIS32 1
-#else
-# define SANITIZER_SOLARIS32 0
-#endif
+# if SANITIZER_SOLARIS && SANITIZER_WORDSIZE == 32
+# define SANITIZER_SOLARIS32 1
+# else
+# define SANITIZER_SOLARIS32 0
+# endif
-#if defined(__riscv) && (__riscv_xlen == 64)
-# define SANITIZER_RISCV64 1
-#else
-# define SANITIZER_RISCV64 0
-#endif
+# if defined(__riscv) && (__riscv_xlen == 64)
+# define SANITIZER_RISCV64 1
+# else
+# define SANITIZER_RISCV64 0
+# endif
-#if defined(__loongarch_lp64)
-# define SANITIZER_LOONGARCH64 1
-#else
-# define SANITIZER_LOONGARCH64 0
-#endif
+# if defined(__loongarch_lp64)
+# define SANITIZER_LOONGARCH64 1
+# else
+# define SANITIZER_LOONGARCH64 0
+# endif
// By default we allow to use SizeClassAllocator64 on 64-bit platform.
// But in some cases SizeClassAllocator64 does not work well and we need to
``````````
</details>
https://github.com/llvm/llvm-project/pull/73650
More information about the llvm-commits
mailing list