[clang] [compiler-rt] [Sanitizers] the access size (8 bytes) exceeds the max lock-free size (4 bytes) for 32-bit (PR #125388)

Hubert Tong via cfe-commits cfe-commits at lists.llvm.org
Mon Feb 3 00:29:17 PST 2025


================
@@ -1120,3 +1120,21 @@
 // RUN:        -c \
 // RUN:   | FileCheck --check-prefixes=CHECK-K-UNUSED %s
 // CHECK-K-UNUSED: clang: warning: -K: 'linker' input unused [-Wunused-command-line-argument]
+
+// Check No Sanitizer on 32-bit AIX
+// RUN: %if target={{.*aix.*}} %{ \
+// RUN:   %clang -target powerpc-ibm-aix -m32 %s -### 2>&1 \
+// RUN:   | FileCheck -check-prefix=CHECK-LD32-NO-SANITIZER %s \
+// RUN: %}
----------------
hubert-reinterpretcast wrote:

Can you explain why this cannot be run when the default target is not configured to be AIX?
This is inconsistent with the other tests in this file (including ones that check link commands).

https://github.com/llvm/llvm-project/pull/125388


More information about the cfe-commits mailing list