[clang] 0f67c7a - [clang] Disable gch-probe.c on AIX as `-gmodules` is not supported there yet. (#78513)

via cfe-commits cfe-commits at lists.llvm.org
Wed Jan 17 14:40:03 PST 2024


Author: Michael Spencer
Date: 2024-01-17T14:40:00-08:00
New Revision: 0f67c7a0af271888930bb315c85d05d3936e265a

URL: https://github.com/llvm/llvm-project/commit/0f67c7a0af271888930bb315c85d05d3936e265a
DIFF: https://github.com/llvm/llvm-project/commit/0f67c7a0af271888930bb315c85d05d3936e265a.diff

LOG: [clang] Disable gch-probe.c on AIX as `-gmodules` is not supported there yet. (#78513)

Followup fix for https://github.com/llvm/llvm-project/pull/77711

Added: 
    

Modified: 
    clang/test/PCH/gch-probe.c

Removed: 
    


################################################################################
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


        


More information about the cfe-commits mailing list