Skip to content

Commit 57882fe

Browse files
committed
Fix "[compiler-rt] Allow 3 simultaneous interceptors on Linux"
No need to "error" on unsupported architectures, since we technically only care where the macro is used. If the macro is undefined, and used, the compiler will producer an error anyway. This fixes build on Windows, where none of these macros should be used.
1 parent 74b0ac5 commit 57882fe

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

compiler-rt/lib/sanitizer_common/sanitizer_asm.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,6 @@
5151
# define ASM_TAIL_CALL jg
5252
#elif defined(__riscv)
5353
# define ASM_TAIL_CALL tail
54-
#else
55-
# error ASM_TAIL_CALL: Unimplemented architecture
5654
#endif
5755

5856
#ifdef __ELF__

0 commit comments

Comments
 (0)