From 1ff1bcab970afaef49e2ab8ab7681a12d11ad17d Mon Sep 17 00:00:00 2001 From: Jake Egan Date: Mon, 25 Oct 2021 23:32:02 -0400 Subject: [PATCH] [AIX][ZOS] Disable tests due to lack of Objective-C support AIX and z/OS lack Objective-C support, so mark these tests as unsupported for AIX and z/OS. This patch follows the same reasoning as D109060. Reviewed By: jsji Differential Revision: https://reviews.llvm.org/D112390 --- clang/test/Modules/ModuleDebugInfo.cpp | 1 + clang/test/Modules/ModuleDebugInfo.m | 1 + clang/test/Modules/clang_module_file_info.m | 2 +- clang/test/Modules/debug-info-moduleimport-in-module.m | 1 + clang/test/Modules/module-debuginfo-prefix.m | 1 + llvm/test/DebugInfo/X86/objc_direct.ll | 1 + 6 files changed, 6 insertions(+), 1 deletion(-) diff --git a/clang/test/Modules/ModuleDebugInfo.cpp b/clang/test/Modules/ModuleDebugInfo.cpp index 836f0d28fb2a..433002c6cdbe 100644 --- a/clang/test/Modules/ModuleDebugInfo.cpp +++ b/clang/test/Modules/ModuleDebugInfo.cpp @@ -1,3 +1,4 @@ +// UNSUPPORTED: -zos, -aix // Test that (the same) debug info is emitted for an Objective-C++ // module and a C++ precompiled header. diff --git a/clang/test/Modules/ModuleDebugInfo.m b/clang/test/Modules/ModuleDebugInfo.m index ed576e441e5d..5493d6edc581 100644 --- a/clang/test/Modules/ModuleDebugInfo.m +++ b/clang/test/Modules/ModuleDebugInfo.m @@ -1,3 +1,4 @@ +// UNSUPPORTED: -zos, -aix // Test that debug info is emitted for an Objective-C module and // a precompiled header. diff --git a/clang/test/Modules/clang_module_file_info.m b/clang/test/Modules/clang_module_file_info.m index b949c68c6390..8ae748363966 100644 --- a/clang/test/Modules/clang_module_file_info.m +++ b/clang/test/Modules/clang_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/debug-info-moduleimport-in-module.m b/clang/test/Modules/debug-info-moduleimport-in-module.m index cde46115d288..71b863e8bce1 100644 --- a/clang/test/Modules/debug-info-moduleimport-in-module.m +++ b/clang/test/Modules/debug-info-moduleimport-in-module.m @@ -1,3 +1,4 @@ +// UNSUPPORTED: -zos, -aix // Test that an @import inside a module is not represented in the debug info. // REQUIRES: asserts diff --git a/clang/test/Modules/module-debuginfo-prefix.m b/clang/test/Modules/module-debuginfo-prefix.m index da5d86abefd0..5a6f924bf60e 100644 --- a/clang/test/Modules/module-debuginfo-prefix.m +++ b/clang/test/Modules/module-debuginfo-prefix.m @@ -1,3 +1,4 @@ +// UNSUPPORTED: -zos, -aix // REQUIRES: asserts // Modules: diff --git a/llvm/test/DebugInfo/X86/objc_direct.ll b/llvm/test/DebugInfo/X86/objc_direct.ll index c29dec14a448..87e0f08241a3 100644 --- a/llvm/test/DebugInfo/X86/objc_direct.ll +++ b/llvm/test/DebugInfo/X86/objc_direct.ll @@ -1,3 +1,4 @@ +; UNSUPPORTED: -zos, -aix ; RUN: llc < %s -filetype=obj -o %t ; RUN: llvm-dwarfdump -v %t | FileCheck %s