[clang] [compiler-rt] [Sanitizers] the access size (8 bytes) exceeds the max lock-free size (4 bytes) for 32-bit (PR #125388)
Vitaly Buka via cfe-commits
cfe-commits at lists.llvm.org
Mon Feb 3 15:17:50 PST 2025
================
@@ -239,6 +239,11 @@ 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
+if (CMAKE_SIZEOF_VOID_P EQUAL 4 AND CMAKE_SYSTEM_NAME STREQUAL "AIX")
----------------
vitalybuka wrote:
Usually we do (OS_NAME MATCHES "Linux")
https://github.com/llvm/llvm-project/pull/125388
More information about the cfe-commits
mailing list