[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:21 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:
The 1st test doesn't crash though. The error occurs when you have -m32 and -fsanitize=address, so technically you don't need to make the first test aix specific.
https://github.com/llvm/llvm-project/pull/125388
More information about the cfe-commits
mailing list