[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
This commit is contained in:
Michael Spencer 2024-01-17 14:40:00 -08:00 committed by GitHub
parent 5133a8f559
commit 0f67c7a0af
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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