================
@@ -239,6 +239,9 @@ append_list_if(SANITIZER_LIMIT_FRAME_SIZE 
-Wframe-larger-than=570
 append_list_if(COMPILER_RT_HAS_WGLOBAL_CONSTRUCTORS_FLAG -Wglobal-constructors
                SANITIZER_CFLAGS)
 
+# Suppress -Watomic-alignment warnings by not treating them as errors
----------------
w2yehia wrote:

also, for other conditional additions to `CFLAGS` (like the ones above) a 
variable is defined in `compiler-rt/CMakeLists.txt` and checked here (see 
`SANITIZER_LIMIT_FRAME_SIZE` for example). Not sure if yours has to be done 
similarly.

https://github.com/llvm/llvm-project/pull/125388
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to