diff --git a/clang/test/CodeGenObjC/lit.local.cfg b/clang/test/CodeGenObjC/lit.local.cfg new file mode 100644 --- /dev/null +++ b/clang/test/CodeGenObjC/lit.local.cfg @@ -0,0 +1,2 @@ +if any(target in config.target_triple for target in ('aix', 'zos')): + config.unsupported = True diff --git a/clang/test/CodeGenObjCXX/lit.local.cfg b/clang/test/CodeGenObjCXX/lit.local.cfg new file mode 100644 --- /dev/null +++ b/clang/test/CodeGenObjCXX/lit.local.cfg @@ -0,0 +1,2 @@ +if any(target in config.target_triple for target in ('aix', 'zos')): + config.unsupported = True diff --git a/clang/test/Import/forward-declared-objc-class/test.m b/clang/test/Import/forward-declared-objc-class/test.m --- a/clang/test/Import/forward-declared-objc-class/test.m +++ b/clang/test/Import/forward-declared-objc-class/test.m @@ -1,3 +1,4 @@ +// UNSUPPORTED: -zos, -aix // RUN: clang-import-test -x objective-c++ -import %S/Inputs/S1.m --import %S/Inputs/S2.m --import %S/Inputs/S3.m -expression %s void expr() { MyClass *c = [MyClass fromInteger:3]; diff --git a/clang/test/Import/objc-arc/test-cleanup-object.m b/clang/test/Import/objc-arc/test-cleanup-object.m --- a/clang/test/Import/objc-arc/test-cleanup-object.m +++ b/clang/test/Import/objc-arc/test-cleanup-object.m @@ -1,3 +1,4 @@ +// UNSUPPORTED: -zos, -aix // RUN: clang-import-test -x objective-c -objc-arc -import %S/Inputs/cleanup-objects.m -dump-ast -expression %s | FileCheck %s // CHECK: FunctionDecl {{.*}} getObj ' diff --git a/clang/test/Import/objc-autoreleasepool/test.m b/clang/test/Import/objc-autoreleasepool/test.m --- a/clang/test/Import/objc-autoreleasepool/test.m +++ b/clang/test/Import/objc-autoreleasepool/test.m @@ -1,3 +1,4 @@ +// UNSUPPORTED: -zos, -aix // RUN: clang-import-test -dump-ast -x objective-c++ -import %S/Inputs/F.m -expression %s | FileCheck %s // CHECK: ObjCAutoreleasePoolStmt diff --git a/clang/test/Import/objc-definitions-in-expression/test.m b/clang/test/Import/objc-definitions-in-expression/test.m --- a/clang/test/Import/objc-definitions-in-expression/test.m +++ b/clang/test/Import/objc-definitions-in-expression/test.m @@ -1,3 +1,4 @@ +// UNSUPPORTED: -zos, -aix // RUN: clang-import-test -x objective-c++ -import %S/Inputs/S.m -expression %s @class D; diff --git a/clang/test/Import/objc-method/test.m b/clang/test/Import/objc-method/test.m --- a/clang/test/Import/objc-method/test.m +++ b/clang/test/Import/objc-method/test.m @@ -1,3 +1,4 @@ +// UNSUPPORTED: -zos, -aix // RUN: clang-import-test -x objective-c++ -import %S/Inputs/S.m -expression %s void expr() { C *c; diff --git a/clang/test/Import/objc-param-decl/test.m b/clang/test/Import/objc-param-decl/test.m --- a/clang/test/Import/objc-param-decl/test.m +++ b/clang/test/Import/objc-param-decl/test.m @@ -1,3 +1,4 @@ +// UNSUPPORTED: -zos, -aix // RUN: clang-import-test -dump-ast -x objective-c++ -import %S/Inputs/S.m -expression %s | FileCheck %s // CHECK: ObjCTypeParamDecl diff --git a/clang/test/Import/objc-try-catch/test.m b/clang/test/Import/objc-try-catch/test.m --- a/clang/test/Import/objc-try-catch/test.m +++ b/clang/test/Import/objc-try-catch/test.m @@ -1,3 +1,4 @@ +// UNSUPPORTED: -zos, -aix // RUN: clang-import-test -x objective-c++ -Xcc -fobjc-exceptions -dump-ast -import %S/Inputs/F.m -expression %s | FileCheck %s // FIXME: Seems that Objective-C try/catch crash codegen on Windows. Reenable once this is fixed. diff --git a/clang/test/Modules/DebugInfoNamespace.cpp b/clang/test/Modules/DebugInfoNamespace.cpp --- a/clang/test/Modules/DebugInfoNamespace.cpp +++ b/clang/test/Modules/DebugInfoNamespace.cpp @@ -1,3 +1,4 @@ +// UNSUPPORTED: -zos, -aix // RUN: rm -rf %t // RUN: %clang_cc1 -x objective-c++ -std=c++11 -debug-info-kind=standalone \ // RUN: -dwarf-ext-refs -fmodules \ diff --git a/clang/test/Modules/DebugInfoTransitiveImport.m b/clang/test/Modules/DebugInfoTransitiveImport.m --- a/clang/test/Modules/DebugInfoTransitiveImport.m +++ b/clang/test/Modules/DebugInfoTransitiveImport.m @@ -1,3 +1,4 @@ +// UNSUPPORTED: -zos, -aix // RUN: rm -rf %t // RUN: %clang_cc1 -fmodules -fmodule-format=obj -debug-info-kind=limited -dwarf-ext-refs \ // RUN: -fimplicit-module-maps -fmodules-cache-path=%t -I %S/Inputs \ diff --git a/clang/test/Modules/ExtDebugInfo.cpp b/clang/test/Modules/ExtDebugInfo.cpp --- a/clang/test/Modules/ExtDebugInfo.cpp +++ b/clang/test/Modules/ExtDebugInfo.cpp @@ -1,3 +1,4 @@ +// UNSUPPORTED: -zos, -aix // RUN: rm -rf %t // Test that only forward declarations are emitted for types defined in modules. diff --git a/clang/test/Modules/ExtDebugInfo.m b/clang/test/Modules/ExtDebugInfo.m --- a/clang/test/Modules/ExtDebugInfo.m +++ b/clang/test/Modules/ExtDebugInfo.m @@ -1,3 +1,4 @@ +// UNSUPPORTED: -zos, -aix // RUN: rm -rf %t // Test that only forward declarations are emitted for types defined in modules. diff --git a/clang/test/Modules/ModuleModuleDebugInfo.cpp b/clang/test/Modules/ModuleModuleDebugInfo.cpp --- a/clang/test/Modules/ModuleModuleDebugInfo.cpp +++ b/clang/test/Modules/ModuleModuleDebugInfo.cpp @@ -1,3 +1,4 @@ +// UNSUPPORTED: -zos, -aix // RUN: rm -rf %t // RUN: %clang_cc1 -x objective-c++ -std=c++11 -debug-info-kind=standalone \ diff --git a/clang/test/Modules/autolink.m b/clang/test/Modules/autolink.m --- a/clang/test/Modules/autolink.m +++ b/clang/test/Modules/autolink.m @@ -1,3 +1,4 @@ +// UNSUPPORTED: -zos, -aix // RUN: rm -rf %t // RUN: %clang_cc1 -emit-pch -fmodules-cache-path=%t -fmodules -fimplicit-module-maps -o %t.pch -I %S/Inputs -x objective-c-header %S/Inputs/autolink-sub3.pch // RUN: %clang_cc1 -emit-llvm -o - -fmodules-cache-path=%t -fmodules -fimplicit-module-maps -F %S/Inputs -I %S/Inputs -include-pch %t.pch %s | FileCheck %s diff --git a/clang/test/Modules/autolinkTBD.m b/clang/test/Modules/autolinkTBD.m --- a/clang/test/Modules/autolinkTBD.m +++ b/clang/test/Modules/autolinkTBD.m @@ -1,3 +1,4 @@ +// UNSUPPORTED: -zos, -aix // RUN: rm -rf %t // RUN: %clang_cc1 -emit-llvm -o - -fmodules-cache-path=%t -fmodules -fimplicit-module-maps -F %S/Inputs %s | FileCheck %s // RUN: %clang_cc1 -emit-llvm -fno-autolink -o - -fmodules-cache-path=%t -fmodules -fimplicit-module-maps -F %S/Inputs %s | FileCheck --check-prefix=CHECK-AUTOLINK-DISABLED %s diff --git a/clang/test/Modules/cxx-irgen.cpp b/clang/test/Modules/cxx-irgen.cpp --- a/clang/test/Modules/cxx-irgen.cpp +++ b/clang/test/Modules/cxx-irgen.cpp @@ -1,3 +1,4 @@ +// UNSUPPORTED: -zos, -aix // RUN: rm -rf %t // RUN: %clang_cc1 -fmodules -fimplicit-module-maps -x objective-c++ -std=c++11 -fmodules-cache-path=%t -I %S/Inputs -triple %itanium_abi_triple -disable-llvm-passes -emit-llvm -o - %s | FileCheck %s // RUN: %clang_cc1 -fmodules -fimplicit-module-maps -x objective-c++ -std=c++11 -fmodules-cache-path=%t -I %S/Inputs -triple %itanium_abi_triple -disable-llvm-passes -emit-llvm -debug-info-kind=limited -o - %s | FileCheck %s diff --git a/clang/test/Modules/debug-info-moduleimport.m b/clang/test/Modules/debug-info-moduleimport.m --- a/clang/test/Modules/debug-info-moduleimport.m +++ b/clang/test/Modules/debug-info-moduleimport.m @@ -1,3 +1,4 @@ +// UNSUPPORTED: -zos, -aix // RUN: rm -rf %t // RUN: %clang_cc1 -debug-info-kind=limited -fmodules \ // RUN: -DGREETING="Hello World" -UNDEBUG \ diff --git a/clang/test/Modules/direct-module-import.m b/clang/test/Modules/direct-module-import.m --- a/clang/test/Modules/direct-module-import.m +++ b/clang/test/Modules/direct-module-import.m @@ -1,3 +1,4 @@ +// UNSUPPORTED: -zos, -aix // RUN: rm -rf %t // RUN: %clang_cc1 -fmodules-cache-path=%t -fmodules -fimplicit-module-maps -F %S/Inputs -include Module/Module.h %s -emit-llvm -o - | FileCheck %s diff --git a/clang/test/Modules/merge-record-definition-nonmodular.m b/clang/test/Modules/merge-record-definition-nonmodular.m --- a/clang/test/Modules/merge-record-definition-nonmodular.m +++ b/clang/test/Modules/merge-record-definition-nonmodular.m @@ -1,3 +1,4 @@ +// UNSUPPORTED: -zos, -aix // RUN: rm -rf %t // RUN: mkdir %t // RUN: %clang_cc1 -emit-llvm -o %t/test.bc -F%S/Inputs/merge-record-definition %s \ diff --git a/clang/test/Modules/merge-record-definition-visibility.m b/clang/test/Modules/merge-record-definition-visibility.m --- a/clang/test/Modules/merge-record-definition-visibility.m +++ b/clang/test/Modules/merge-record-definition-visibility.m @@ -1,3 +1,4 @@ +// UNSUPPORTED: -zos, -aix // RUN: rm -rf %t // RUN: mkdir %t // RUN: %clang_cc1 -emit-llvm -o %t/test.bc -F%S/Inputs/merge-record-definition %s \ diff --git a/clang/test/Modules/merge-record-definition.m b/clang/test/Modules/merge-record-definition.m --- a/clang/test/Modules/merge-record-definition.m +++ b/clang/test/Modules/merge-record-definition.m @@ -1,3 +1,4 @@ +// UNSUPPORTED: -zos, -aix // RUN: rm -rf %t // RUN: mkdir %t // RUN: %clang_cc1 -emit-llvm -o %t/test.bc -F%S/Inputs/merge-record-definition %s \ diff --git a/clang/test/Modules/module_file_info.m b/clang/test/Modules/module_file_info.m --- a/clang/test/Modules/module_file_info.m +++ b/clang/test/Modules/module_file_info.m @@ -1,4 +1,4 @@ - +// UNSUPPORTED: -zos, -aix @import DependsOnModule; // RUN: rm -rf %t %t-obj diff --git a/clang/test/Modules/objc-initializer.m b/clang/test/Modules/objc-initializer.m --- a/clang/test/Modules/objc-initializer.m +++ b/clang/test/Modules/objc-initializer.m @@ -1,3 +1,4 @@ +// UNSUPPORTED: -zos, -aix // RUN: rm -rf %t // RUN: %clang_cc1 -fmodules-cache-path=%t -fmodules -fimplicit-module-maps -I %S/Inputs/objc-initializer %s -emit-llvm -o - -fobjc-arc | FileCheck %s // RUN: %clang_cc1 -fmodules-cache-path=%t -fmodules -fimplicit-module-maps -I %S/Inputs/objc-initializer %s -emit-llvm -o - -fobjc-arc -DIMPORT_TOP | FileCheck %s diff --git a/clang/test/Modules/pch-used.m b/clang/test/Modules/pch-used.m --- a/clang/test/Modules/pch-used.m +++ b/clang/test/Modules/pch-used.m @@ -1,3 +1,4 @@ +// UNSUPPORTED: -zos, -aix // RUN: rm -rf %t // RUN: mkdir %t // RUN: %clang_cc1 -x objective-c-header -emit-pch %S/Inputs/pch-used.h -o %t/pch-used.h.pch -fmodules -fimplicit-module-maps -fmodules-cache-path=%t/cache -O0 -isystem %S/Inputs/System/usr/include diff --git a/clang/test/Modules/use-exportas-for-link.m b/clang/test/Modules/use-exportas-for-link.m --- a/clang/test/Modules/use-exportas-for-link.m +++ b/clang/test/Modules/use-exportas-for-link.m @@ -1,3 +1,4 @@ +// UNSUPPORTED: -zos, -aix // RUN: rm -rf %t // RUN: %clang_cc1 -emit-llvm -o - -fmodules-cache-path=%t -DA -fmodules -fimplicit-module-maps -F %S/Inputs/exportas-link %s | FileCheck --check-prefix=CHECK_A %s // CHECK_A: !llvm.linker.options = !{![[MODULE:[0-9]+]]} diff --git a/clang/test/PCH/irgen-rdar13114142.mm b/clang/test/PCH/irgen-rdar13114142.mm --- a/clang/test/PCH/irgen-rdar13114142.mm +++ b/clang/test/PCH/irgen-rdar13114142.mm @@ -1,3 +1,4 @@ +// UNSUPPORTED: -zos, -aix // RUN: %clang_cc1 %s -triple %itanium_abi_triple -emit-pch -o %t.pch // RUN: %clang_cc1 %s -triple %itanium_abi_triple -emit-llvm -include-pch %t.pch -o - | FileCheck %s diff --git a/clang/test/PCH/objc_container.m b/clang/test/PCH/objc_container.m --- a/clang/test/PCH/objc_container.m +++ b/clang/test/PCH/objc_container.m @@ -1,3 +1,4 @@ +// UNSUPPORTED: -zos, -aix // Test this without pch. // RUN: %clang_cc1 -include %S/objc_container.h -fsyntax-only -verify %s diff --git a/clang/test/PCH/objc_literals.m b/clang/test/PCH/objc_literals.m --- a/clang/test/PCH/objc_literals.m +++ b/clang/test/PCH/objc_literals.m @@ -1,3 +1,4 @@ +// UNSUPPORTED: -zos, -aix // RUN: %clang_cc1 -emit-pch -o %t %s // RUN: %clang_cc1 -include-pch %t -verify %s // RUN: %clang_cc1 -include-pch %t -ast-print %s | FileCheck -check-prefix=CHECK-PRINT %s diff --git a/clang/test/PCH/objc_literals.mm b/clang/test/PCH/objc_literals.mm --- a/clang/test/PCH/objc_literals.mm +++ b/clang/test/PCH/objc_literals.mm @@ -1,3 +1,4 @@ +// UNSUPPORTED: -zos, -aix // RUN: %clang_cc1 -triple %itanium_abi_triple -emit-pch -x objective-c++ -std=c++0x -o %t %s // RUN: %clang_cc1 -triple %itanium_abi_triple -include-pch %t -x objective-c++ -std=c++0x -verify %s // RUN: %clang_cc1 -triple %itanium_abi_triple -include-pch %t -x objective-c++ -std=c++0x -ast-print %s | FileCheck -check-prefix=CHECK-PRINT %s diff --git a/clang/test/PCH/objcxx-ivar-class.mm b/clang/test/PCH/objcxx-ivar-class.mm --- a/clang/test/PCH/objcxx-ivar-class.mm +++ b/clang/test/PCH/objcxx-ivar-class.mm @@ -1,3 +1,4 @@ +// UNSUPPORTED: -zos, -aix // Test this without pch. // RUN: %clang_cc1 -include %S/objcxx-ivar-class.h -triple %itanium_abi_triple %s -emit-llvm -o - | FileCheck %s