[compiler-rt] [llvm] [polly] [NFC] Fix spelling mistakes in comments 'compatiable' to 'compatible' (PR #185213)
via llvm-commits
llvm-commits at lists.llvm.org
Sat Mar 7 10:11:10 PST 2026
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 origin/main HEAD --extensions cpp,h,c -- compiler-rt/lib/sanitizer_common/sanitizer_asm.h llvm/lib/CodeGen/GlobalMergeFunctions.cpp polly/lib/External/isl/imath/gmp_compat.c polly/lib/External/isl/imath/gmp_compat.h --diff_from_common_commit
``````````
:warning:
The reproduction instructions above might return results for more than one PR
in a stack if you are using a stacked PR workflow. You can limit the results by
changing `origin/main` to the base branch/commit you want to compare against.
:warning:
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/compiler-rt/lib/sanitizer_common/sanitizer_asm.h b/compiler-rt/lib/sanitizer_common/sanitizer_asm.h
index b584b38e0..32db01aa2 100644
--- a/compiler-rt/lib/sanitizer_common/sanitizer_asm.h
+++ b/compiler-rt/lib/sanitizer_common/sanitizer_asm.h
@@ -106,30 +106,29 @@
# if defined(__i386__) || defined(__powerpc__) || defined(__s390__) || \
defined(__sparc__)
// For details, see interception.h
-# define ASM_WRAPPER_NAME(symbol) __interceptor_##symbol
-# define ASM_TRAMPOLINE_ALIAS(symbol, name) \
- .weak symbol; \
- .set symbol, ASM_WRAPPER_NAME(name)
-# define ASM_INTERCEPTOR_TRAMPOLINE(name)
-# define ASM_INTERCEPTOR_TRAMPOLINE_SUPPORT 0
-# else // Architecture supports interceptor trampoline
+# define ASM_WRAPPER_NAME(symbol) __interceptor_##symbol
+# define ASM_TRAMPOLINE_ALIAS(symbol, name) \
+ .weak symbol; \
+ .set symbol, ASM_WRAPPER_NAME(name)
+# define ASM_INTERCEPTOR_TRAMPOLINE(name)
+# define ASM_INTERCEPTOR_TRAMPOLINE_SUPPORT 0
+# else // Architecture supports interceptor trampoline
// Keep trampoline implementation in sync with interception/interception.h
-# define ASM_WRAPPER_NAME(symbol) ___interceptor_##symbol
-# define ASM_TRAMPOLINE_ALIAS(symbol, name) \
- .weak symbol; \
- .set symbol, __interceptor_trampoline_##name
-# define ASM_INTERCEPTOR_TRAMPOLINE(name) \
- .weak __interceptor_##name; \
- .set __interceptor_##name, ASM_WRAPPER_NAME(name); \
- .globl __interceptor_trampoline_##name; \
- ASM_TYPE_FUNCTION(__interceptor_trampoline_##name); \
- __interceptor_trampoline_##name: \
- ASM_STARTPROC; \
- ASM_TAIL_CALL ASM_PREEMPTIBLE_SYM(__interceptor_##name); \
- ASM_ENDPROC; \
- ASM_SIZE(__interceptor_trampoline_##name)
-# define ASM_INTERCEPTOR_TRAMPOLINE_SUPPORT 1
-# endif // Architecture supports interceptor trampoline
+# define ASM_WRAPPER_NAME(symbol) ___interceptor_##symbol
+# define ASM_TRAMPOLINE_ALIAS(symbol, name) \
+ .weak symbol; \
+ .set symbol, __interceptor_trampoline_##name
+# define ASM_INTERCEPTOR_TRAMPOLINE(name) \
+ .weak __interceptor_##name; \
+ .set __interceptor_##name, ASM_WRAPPER_NAME(name); \
+ .globl __interceptor_trampoline_##name; \
+ ASM_TYPE_FUNCTION(__interceptor_trampoline_##name); \
+ __interceptor_trampoline_##name : ASM_STARTPROC; \
+ ASM_TAIL_CALL ASM_PREEMPTIBLE_SYM(__interceptor_##name); \
+ ASM_ENDPROC; \
+ ASM_SIZE(__interceptor_trampoline_##name)
+# define ASM_INTERCEPTOR_TRAMPOLINE_SUPPORT 1
+# endif // Architecture supports interceptor trampoline
#else
# define ASM_HIDDEN(symbol)
# define ASM_TYPE_FUNCTION(symbol)
``````````
</details>
https://github.com/llvm/llvm-project/pull/185213
More information about the llvm-commits
mailing list