[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 15:29:20 PST 2025


================
@@ -1121,20 +1121,24 @@
 // RUN:   | FileCheck --check-prefixes=CHECK-K-UNUSED %s
 // CHECK-K-UNUSED: clang: warning: -K: 'linker' input unused [-Wunused-command-line-argument]
 
+
+// This check is only applicable to AIX targets. 
+// AIX-specific link behavior requires `-latomic` for 32-bit sanitizer libraries, 
+// Running this test on non-AIX targets will result in an unrelated error 
----------------
hubert-reinterpretcast wrote:

I don't think that having _this_ test (32-bit with no sanitizer) fail when with non-AIX environments/configurations is acceptable. This is basically the same as the first test in the file (`CHECK-LD32`). If _this_ test is indeed failing, then please identify what the key difference is between this and the `CHECK-LD32` test.

Additionally, "on non-AIX targets" is not correct. Is it "on non-AIX hosts" or "with non-AIX target configurations"?

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


More information about the cfe-commits mailing list