================ @@ -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 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits