[clang] d1873d3 - [NFC][AIX] Disable precompiled module file test on AIX

Jake Egan via cfe-commits cfe-commits at lists.llvm.org
Tue Mar 15 12:16:23 PDT 2022


Author: Jake Egan
Date: 2022-03-15T15:16:15-04:00
New Revision: d1873d395d5799fe7344d08de7f2b01e53697eca

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

LOG: [NFC][AIX] Disable precompiled module file test on AIX

This patch follows the same reasoning as D114481. The PCH reader looks for `__clangast` section in the precompiled module file, which is not present in the file on AIX and not supported in XCOFF yet.

Reviewed By: daltenty

Differential Revision: https://reviews.llvm.org/D121709

Added: 
    

Modified: 
    clang/test/ClangScanDeps/modules-no-undeclared-includes.c

Removed: 
    


################################################################################
diff  --git a/clang/test/ClangScanDeps/modules-no-undeclared-includes.c b/clang/test/ClangScanDeps/modules-no-undeclared-includes.c
index 72f39223cffc1..d88b32b6506be 100644
--- a/clang/test/ClangScanDeps/modules-no-undeclared-includes.c
+++ b/clang/test/ClangScanDeps/modules-no-undeclared-includes.c
@@ -1,3 +1,7 @@
+// Unsupported on AIX because we don't support the requisite "__clangast"
+// section in XCOFF yet.
+// UNSUPPORTED: aix
+
 // RUN: rm -rf %t && mkdir %t
 // RUN: split-file %s %t
 


        


More information about the cfe-commits mailing list