It has already been unconditionally enabled for macOS (which uses clang).
Signed-off-by: Martin Storsjo martin@martin.st --- The sanitizer runtimes seem to make the same assumption: https://github.com/llvm/llvm-project/blob/master/compiler-rt/lib/sanitizer_c... --- include/wine/asm.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/wine/asm.h b/include/wine/asm.h index 7165f47e96d..7650d84a797 100644 --- a/include/wine/asm.h +++ b/include/wine/asm.h @@ -33,7 +33,7 @@ # define __ASM_STDCALL(name,args) __ASM_NAME(name) #endif
-#if defined(__GCC_HAVE_DWARF2_CFI_ASM) || defined(__APPLE__) +#if defined(__GCC_HAVE_DWARF2_CFI_ASM) || defined(__APPLE__) || defined(__clang__) # define __ASM_CFI(str) str #else # define __ASM_CFI(str)