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

Wael Yehia via cfe-commits cfe-commits at lists.llvm.org
Wed Feb 5 07:17:20 PST 2025


================
@@ -1120,3 +1120,23 @@
 // RUN:        -c \
 // RUN:   | FileCheck --check-prefixes=CHECK-K-UNUSED %s
 // CHECK-K-UNUSED: clang: warning: -K: 'linker' input unused [-Wunused-command-line-argument]
+
+
+// This test verifies that the linker doesn't include '-latomic' when no sanitizers are enabled 
+// Running this test on non-AIX host will result in an unrelated error 
+// FIXME: Sanitizer interface functions must be exported by export files on AIX
----------------
w2yehia wrote:

I tried the 2nd test on powerpcle and I see the error message:
`LLVM ERROR: Sanitizer interface functions must be exported by export files on AIX.`
I suggest reformatting the comment to make it clear that the FIXME is related to the "unrelated error". See above suggestion.


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


More information about the cfe-commits mailing list