[clang] [clang] Disable gch-probe.c on AIX as `-gmodules` is not supported there yet. (PR #78513)
via cfe-commits
cfe-commits at lists.llvm.org
Wed Jan 17 14:29:26 PST 2024
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-clang
Author: Michael Spencer (Bigcheese)
<details>
<summary>Changes</summary>
Followup fix for https://github.com/llvm/llvm-project/pull/77711
---
Full diff: https://github.com/llvm/llvm-project/pull/78513.diff
1 Files Affected:
- (modified) clang/test/PCH/gch-probe.c (+4)
``````````diff
diff --git a/clang/test/PCH/gch-probe.c b/clang/test/PCH/gch-probe.c
index 0905c9baebdae0..370abd26d25174 100644
--- a/clang/test/PCH/gch-probe.c
+++ b/clang/test/PCH/gch-probe.c
@@ -1,3 +1,7 @@
+// Unsupported on AIX because we don't support the requisite "__clangast"
+// section in XCOFF yet.
+// UNSUPPORTED: target={{.*}}-aix{{.*}}
+
// For GCC compatibility, clang should probe also with the .gch extension.
// RUN: %clang -x c-header -c %s -o %t.h.gch
// RUN: %clang -fsyntax-only -include %t.h %s
``````````
</details>
https://github.com/llvm/llvm-project/pull/78513
More information about the cfe-commits
mailing list