https://github.com/tbaederr created
https://github.com/llvm/llvm-project/pull/188052
Fixes:
```
/home/b/sanitizer-aarch64-linux/build/llvm-project/clang/lib/AST/ByteCode/Interp.cpp:46:9:
error: 'MUSTTAIL' macro redefined [-Werror,-Wmacro-redefined]
46 | #define MUSTTAIL
| ^
/home/b/sanitizer-aarch64-linux/build/llvm-project/clang/lib/AST/ByteCode/Interp.cpp:32:9:
note: previous definition is here
32 | #define MUSTTAIL [[clang::musttail]]
| ^
1 error generated.
```
>From 9f9ace0aeb1c5bcb773a43af5d3dee84a94f757a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Timm=20B=C3=A4der?= <[email protected]>
Date: Mon, 23 Mar 2026 16:26:56 +0100
Subject: [PATCH] asdf
---
clang/lib/AST/ByteCode/Interp.cpp | 1 +
1 file changed, 1 insertion(+)
diff --git a/clang/lib/AST/ByteCode/Interp.cpp
b/clang/lib/AST/ByteCode/Interp.cpp
index e2c9b01f4c7ea..ecaf979e4b33e 100644
--- a/clang/lib/AST/ByteCode/Interp.cpp
+++ b/clang/lib/AST/ByteCode/Interp.cpp
@@ -43,6 +43,7 @@ using namespace clang::interp;
// aarch64 seems to have problems too, at least with sanitizers enabled.
#if defined(_MSC_VER) || defined(_ARCH_PPC) || defined(__aarch64__) ||
\
!defined(MUSTTAIL)
+#undef MUSTTAIL
#define MUSTTAIL
#define USE_TAILCALLS 0
#else
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits