mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-02-26 13:26:22 +00:00
[ZOS] Convert tests to check 'target={{.*}}-zos{{.*}}'
Also add 'system-zos' as a lit feature and use it where needed. Part of the project to eliminate special handling for triples in lit expressions. Differential Revision: https://reviews.llvm.org/D139444
This commit is contained in:
parent
ee56d88b02
commit
7793e67651
@ -1,4 +1,4 @@
|
||||
// UNSUPPORTED: -zos, target={{.*}}-aix{{.*}}
|
||||
// UNSUPPORTED: target={{.*}}-zos{{.*}}, target={{.*}}-aix{{.*}}
|
||||
// RUN: %clang_analyze_cc1 -analyzer-checker=core,osx.cocoa.RetainCount,alpha.core -verify %s
|
||||
// expected-no-diagnostics
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
// UNSUPPORTED: -zos, target={{.*}}-aix{{.*}}
|
||||
// UNSUPPORTED: target={{.*}}-zos{{.*}}, target={{.*}}-aix{{.*}}
|
||||
// RUN: %clang_cc1 -emit-llvm %s -o %t
|
||||
|
||||
typedef const struct __CFString * CFStringRef;
|
||||
|
@ -1,6 +1,6 @@
|
||||
// Test version information.
|
||||
|
||||
// UNSUPPORTED: -zos
|
||||
// UNSUPPORTED: target={{.*}}-zos{{.*}}
|
||||
// RUN: %clang -Wa,--version -c -fintegrated-as %s -o /dev/null \
|
||||
// RUN: | FileCheck --check-prefix=IAS %s
|
||||
// IAS: clang version
|
||||
|
@ -1,4 +1,4 @@
|
||||
// UNSUPPORTED: -zos, target={{.*}}-aix{{.*}}
|
||||
// UNSUPPORTED: target={{.*}}-zos{{.*}}, target={{.*}}-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];
|
||||
|
@ -1,4 +1,4 @@
|
||||
// UNSUPPORTED: -zos, target={{.*}}-aix{{.*}}
|
||||
// UNSUPPORTED: target={{.*}}-zos{{.*}}, target={{.*}}-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 '
|
||||
|
@ -1,4 +1,4 @@
|
||||
// UNSUPPORTED: -zos, target={{.*}}-aix{{.*}}
|
||||
// UNSUPPORTED: target={{.*}}-zos{{.*}}, target={{.*}}-aix{{.*}}
|
||||
// RUN: clang-import-test -dump-ast -x objective-c++ -import %S/Inputs/F.m -expression %s | FileCheck %s
|
||||
|
||||
// CHECK: ObjCAutoreleasePoolStmt
|
||||
|
@ -1,4 +1,4 @@
|
||||
// UNSUPPORTED: -zos, target={{.*}}-aix{{.*}}
|
||||
// UNSUPPORTED: target={{.*}}-zos{{.*}}, target={{.*}}-aix{{.*}}
|
||||
// RUN: clang-import-test -x objective-c++ -import %S/Inputs/S.m -expression %s
|
||||
@class D;
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
// UNSUPPORTED: -zos, target={{.*}}-aix{{.*}}
|
||||
// UNSUPPORTED: target={{.*}}-zos{{.*}}, target={{.*}}-aix{{.*}}
|
||||
// RUN: clang-import-test -x objective-c++ -import %S/Inputs/S.m -expression %s
|
||||
void expr() {
|
||||
C *c;
|
||||
|
@ -1,4 +1,4 @@
|
||||
// UNSUPPORTED: -zos, target={{.*}}-aix{{.*}}
|
||||
// UNSUPPORTED: target={{.*}}-zos{{.*}}, target={{.*}}-aix{{.*}}
|
||||
// RUN: clang-import-test -dump-ast -x objective-c++ -import %S/Inputs/S.m -expression %s | FileCheck %s
|
||||
|
||||
// CHECK: ObjCTypeParamDecl
|
||||
|
@ -1,4 +1,4 @@
|
||||
// UNSUPPORTED: -zos, target={{.*}}-aix{{.*}}
|
||||
// UNSUPPORTED: target={{.*}}-zos{{.*}}, target={{.*}}-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.
|
||||
|
@ -1,4 +1,4 @@
|
||||
// UNSUPPORTED: -zos, target={{.*}}-aix{{.*}}
|
||||
// UNSUPPORTED: target={{.*}}-zos{{.*}}, target={{.*}}-aix{{.*}}
|
||||
// RUN: rm -rf %t
|
||||
// RUN: %clang_cc1 -x objective-c++ -std=c++11 -debug-info-kind=standalone \
|
||||
// RUN: -dwarf-ext-refs -fmodules \
|
||||
|
@ -1,4 +1,4 @@
|
||||
// UNSUPPORTED: -zos, target={{.*}}-aix{{.*}}
|
||||
// UNSUPPORTED: target={{.*}}-zos{{.*}}, target={{.*}}-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 \
|
||||
|
@ -1,4 +1,4 @@
|
||||
// UNSUPPORTED: -zos, target={{.*}}-aix{{.*}}
|
||||
// UNSUPPORTED: target={{.*}}-zos{{.*}}, target={{.*}}-aix{{.*}}
|
||||
// RUN: rm -rf %t
|
||||
// Test that only forward declarations are emitted for types defined in modules.
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
// UNSUPPORTED: -zos, target={{.*}}-aix{{.*}}
|
||||
// UNSUPPORTED: target={{.*}}-zos{{.*}}, target={{.*}}-aix{{.*}}
|
||||
// RUN: rm -rf %t
|
||||
// Test that only forward declarations are emitted for types defined in modules.
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
// UNSUPPORTED: -zos, target={{.*}}-aix{{.*}}
|
||||
// UNSUPPORTED: target={{.*}}-zos{{.*}}, target={{.*}}-aix{{.*}}
|
||||
// Test that (the same) debug info is emitted for an Objective-C++
|
||||
// module and a C++ precompiled header.
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
// UNSUPPORTED: -zos, target={{.*}}-aix{{.*}}
|
||||
// UNSUPPORTED: target={{.*}}-zos{{.*}}, target={{.*}}-aix{{.*}}
|
||||
// Test that debug info is emitted for an Objective-C module and
|
||||
// a precompiled header.
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
// UNSUPPORTED: -zos, target={{.*}}-aix{{.*}}
|
||||
// UNSUPPORTED: target={{.*}}-zos{{.*}}, target={{.*}}-aix{{.*}}
|
||||
// Tests that dwoIds in modules match the dwoIDs in the main file.
|
||||
|
||||
// REQUIRES: asserts
|
||||
|
@ -1,4 +1,4 @@
|
||||
// UNSUPPORTED: -zos, target={{.*}}-aix{{.*}}
|
||||
// UNSUPPORTED: target={{.*}}-zos{{.*}}, target={{.*}}-aix{{.*}}
|
||||
// RUN: rm -rf %t
|
||||
|
||||
// RUN: %clang_cc1 -x objective-c++ -std=c++11 -debug-info-kind=standalone \
|
||||
|
@ -1,4 +1,4 @@
|
||||
// UNSUPPORTED: -zos, target={{.*}}-aix{{.*}}
|
||||
// UNSUPPORTED: target={{.*}}-zos{{.*}}, target={{.*}}-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
|
||||
|
@ -1,4 +1,4 @@
|
||||
// UNSUPPORTED: -zos, target={{.*}}-aix{{.*}}
|
||||
// UNSUPPORTED: target={{.*}}-zos{{.*}}, target={{.*}}-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
|
||||
|
@ -1,4 +1,4 @@
|
||||
// UNSUPPORTED: -zos, target={{.*}}-aix{{.*}}
|
||||
// UNSUPPORTED: target={{.*}}-zos{{.*}}, target={{.*}}-aix{{.*}}
|
||||
// RUN: rm -rf %t
|
||||
// RUN: %clang_cc1 -fmodules-cache-path=%t -fmodules -fimplicit-module-maps -I %S/Inputs %s -verify
|
||||
// RUN: %clang_cc1 -fmodules-cache-path=%t -fmodules -fimplicit-module-maps -I %S/Inputs -x c %s -verify
|
||||
|
@ -1,4 +1,4 @@
|
||||
// UNSUPPORTED: -zos, target={{.*}}-aix{{.*}}
|
||||
// UNSUPPORTED: target={{.*}}-zos{{.*}}, target={{.*}}-aix{{.*}}
|
||||
@import DependsOnModule;
|
||||
|
||||
// RUN: rm -rf %t %t-obj
|
||||
|
@ -1,4 +1,4 @@
|
||||
// UNSUPPORTED: -zos, target={{.*}}-aix{{.*}}
|
||||
// UNSUPPORTED: target={{.*}}-zos{{.*}}, target={{.*}}-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
|
||||
|
@ -1,4 +1,4 @@
|
||||
// UNSUPPORTED: -zos, target={{.*}}-aix{{.*}}
|
||||
// UNSUPPORTED: target={{.*}}-zos{{.*}}, target={{.*}}-aix{{.*}}
|
||||
// Test that an @import inside a module is not represented in the debug info.
|
||||
|
||||
// REQUIRES: asserts
|
||||
|
@ -1,4 +1,4 @@
|
||||
// UNSUPPORTED: -zos, target={{.*}}-aix{{.*}}
|
||||
// UNSUPPORTED: target={{.*}}-zos{{.*}}, target={{.*}}-aix{{.*}}
|
||||
// RUN: rm -rf %t
|
||||
// RUN: %clang_cc1 -debug-info-kind=limited -fmodules \
|
||||
// RUN: -DGREETING="Hello World" -UNDEBUG \
|
||||
|
@ -1,4 +1,4 @@
|
||||
// UNSUPPORTED: -zos, target={{.*}}-aix{{.*}}
|
||||
// UNSUPPORTED: target={{.*}}-zos{{.*}}, target={{.*}}-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
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
// UNSUPPORTED: -zos, target={{.*}}-aix{{.*}}
|
||||
// UNSUPPORTED: target={{.*}}-zos{{.*}}, target={{.*}}-aix{{.*}}
|
||||
// RUN: rm -rf %t
|
||||
// RUN: split-file %s %t
|
||||
// RUN: %clang_cc1 -fsyntax-only -F%t/Frameworks %t/test.m -Wno-objc-property-implementation -Wno-incomplete-implementation \
|
||||
|
@ -1,4 +1,4 @@
|
||||
// UNSUPPORTED: -zos, target={{.*}}-aix{{.*}}
|
||||
// UNSUPPORTED: target={{.*}}-zos{{.*}}, target={{.*}}-aix{{.*}}
|
||||
// RUN: rm -rf %t
|
||||
// RUN: split-file %s %t
|
||||
// RUN: %clang_cc1 -emit-llvm -o %t/test-compatible-extensions.ll -fobjc-runtime=macosx-10.9 -F%t/Frameworks %t/test-compatible-extensions.m \
|
||||
|
@ -4,7 +4,7 @@
|
||||
// RUN: -fmodules -fimplicit-module-maps -fmodules-cache-path=%t/modules.cache
|
||||
// RUN: %clang_cc1 -emit-llvm -o %t/test.bc -F%t/Frameworks %t/test.m -DHIDDEN_FIRST=0 \
|
||||
// RUN: -fmodules -fimplicit-module-maps -fmodules-cache-path=%t/modules.cache
|
||||
// UNSUPPORTED: -zos, target={{.*}}-aix{{.*}}
|
||||
// UNSUPPORTED: target={{.*}}-zos{{.*}}, target={{.*}}-aix{{.*}}
|
||||
|
||||
// Test a case when Objective-C interface is imported both as hidden and as visible.
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
// UNSUPPORTED: -zos, target={{.*}}-aix{{.*}}
|
||||
// UNSUPPORTED: target={{.*}}-zos{{.*}}, target={{.*}}-aix{{.*}}
|
||||
// RUN: rm -rf %t
|
||||
// RUN: split-file %s %t
|
||||
// RUN: %clang_cc1 -emit-llvm -o %t/test.bc -F%t/Frameworks %t/test.m \
|
||||
|
@ -1,4 +1,4 @@
|
||||
// UNSUPPORTED: -zos, target={{.*}}-aix{{.*}}
|
||||
// UNSUPPORTED: target={{.*}}-zos{{.*}}, target={{.*}}-aix{{.*}}
|
||||
// RUN: rm -rf %t
|
||||
// RUN: mkdir %t
|
||||
// RUN: %clang_cc1 -emit-llvm -o %t/test.bc -F%S/Inputs/merge-record-definition %s \
|
||||
|
@ -1,4 +1,4 @@
|
||||
// UNSUPPORTED: -zos, target={{.*}}-aix{{.*}}
|
||||
// UNSUPPORTED: target={{.*}}-zos{{.*}}, target={{.*}}-aix{{.*}}
|
||||
// RUN: rm -rf %t
|
||||
// RUN: mkdir %t
|
||||
// RUN: %clang_cc1 -emit-llvm -o %t/test.bc -F%S/Inputs/merge-record-definition %s \
|
||||
|
@ -1,4 +1,4 @@
|
||||
// UNSUPPORTED: -zos, target={{.*}}-aix{{.*}}
|
||||
// UNSUPPORTED: target={{.*}}-zos{{.*}}, target={{.*}}-aix{{.*}}
|
||||
// RUN: rm -rf %t
|
||||
// RUN: mkdir %t
|
||||
// RUN: %clang_cc1 -emit-llvm -o %t/test.bc -F%S/Inputs/merge-record-definition %s \
|
||||
|
@ -1,4 +1,4 @@
|
||||
// UNSUPPORTED: -zos, target={{.*}}-aix{{.*}}
|
||||
// UNSUPPORTED: target={{.*}}-zos{{.*}}, target={{.*}}-aix{{.*}}
|
||||
// REQUIRES: asserts
|
||||
|
||||
// Modules:
|
||||
|
@ -1,4 +1,4 @@
|
||||
// UNSUPPORTED: -zos, target={{.*}}-aix{{.*}}
|
||||
// UNSUPPORTED: target={{.*}}-zos{{.*}}, target={{.*}}-aix{{.*}}
|
||||
// RUN: cd %S
|
||||
// RUN: %clang_cc1 -x objective-c -fmodules -fno-implicit-modules \
|
||||
// RUN: -fmodule-file-home-is-cwd -fmodule-name=libA -emit-module \
|
||||
|
@ -1,4 +1,4 @@
|
||||
// UNSUPPORTED: -zos, target={{.*}}-aix{{.*}}
|
||||
// UNSUPPORTED: target={{.*}}-zos{{.*}}, target={{.*}}-aix{{.*}}
|
||||
@import DependsOnModule;
|
||||
|
||||
// RUN: rm -rf %t %t-obj
|
||||
|
@ -1,4 +1,4 @@
|
||||
// UNSUPPORTED: -zos, target={{.*}}-aix{{.*}}
|
||||
// UNSUPPORTED: target={{.*}}-zos{{.*}}, target={{.*}}-aix{{.*}}
|
||||
// RUN: rm -rf %t
|
||||
// RUN: %clang_cc1 -no-opaque-pointers -fmodules-cache-path=%t -fmodules -fimplicit-module-maps -I %S/Inputs/objc-initializer %s -emit-llvm -o - -fobjc-arc | FileCheck %s
|
||||
// RUN: %clang_cc1 -no-opaque-pointers -fmodules-cache-path=%t -fmodules -fimplicit-module-maps -I %S/Inputs/objc-initializer %s -emit-llvm -o - -fobjc-arc -DIMPORT_TOP | FileCheck %s
|
||||
|
@ -1,4 +1,4 @@
|
||||
// UNSUPPORTED: -zos, target={{.*}}-aix{{.*}}
|
||||
// UNSUPPORTED: target={{.*}}-zos{{.*}}, target={{.*}}-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
|
||||
|
@ -1,4 +1,4 @@
|
||||
// UNSUPPORTED: -zos, target={{.*}}-aix{{.*}}
|
||||
// UNSUPPORTED: target={{.*}}-zos{{.*}}, target={{.*}}-aix{{.*}}
|
||||
// RUN: rm -rf %t
|
||||
// RUN: split-file %s %t
|
||||
// RUN: %clang_cc1 -fsyntax-only -fobjc-runtime=macosx-10.9 -verify -I%t/include %t/test-mismatch-in-extension.m
|
||||
|
@ -1,4 +1,4 @@
|
||||
// UNSUPPORTED: -zos, target={{.*}}-aix{{.*}}
|
||||
// UNSUPPORTED: target={{.*}}-zos{{.*}}, target={{.*}}-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]+]]}
|
||||
|
@ -1,4 +1,4 @@
|
||||
// UNSUPPORTED: -zos, target={{.*}}-aix{{.*}}
|
||||
// UNSUPPORTED: target={{.*}}-zos{{.*}}, target={{.*}}-aix{{.*}}
|
||||
// Test for assertion failure due to objc_externally_retained on a function.
|
||||
|
||||
// Without PCH
|
||||
|
@ -1,4 +1,4 @@
|
||||
// UNSUPPORTED: -zos, target={{.*}}-aix{{.*}}
|
||||
// UNSUPPORTED: target={{.*}}-zos{{.*}}, target={{.*}}-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
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
// UNSUPPORTED: -zos, target={{.*}}-aix{{.*}}
|
||||
// UNSUPPORTED: target={{.*}}-zos{{.*}}, target={{.*}}-aix{{.*}}
|
||||
// Test this without pch.
|
||||
// RUN: %clang_cc1 -include %S/objc_container.h -fsyntax-only -verify %s
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
// UNSUPPORTED: -zos, target={{.*}}-aix{{.*}}
|
||||
// UNSUPPORTED: target={{.*}}-zos{{.*}}, target={{.*}}-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
|
||||
|
@ -1,4 +1,4 @@
|
||||
// UNSUPPORTED: -zos, target={{.*}}-aix{{.*}}
|
||||
// UNSUPPORTED: target={{.*}}-zos{{.*}}, target={{.*}}-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
|
||||
|
@ -1,4 +1,4 @@
|
||||
// UNSUPPORTED: -zos, target={{.*}}-aix{{.*}}
|
||||
// UNSUPPORTED: target={{.*}}-zos{{.*}}, target={{.*}}-aix{{.*}}
|
||||
// Test this without pch.
|
||||
// RUN: %clang_cc1 -include %S/objcxx-ivar-class.h -triple %itanium_abi_triple %s -emit-llvm -o - | FileCheck %s
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
// UNSUPPORTED: -zos, target={{.*}}-aix{{.*}}
|
||||
// UNSUPPORTED: target={{.*}}-zos{{.*}}, target={{.*}}-aix{{.*}}
|
||||
// Test for rdar://10278815
|
||||
|
||||
// Without PCH
|
||||
|
@ -1,4 +1,4 @@
|
||||
// UNSUPPORTED: -zos
|
||||
// UNSUPPORTED: target={{.*}}-zos{{.*}}
|
||||
// REQUIRES: object-emission
|
||||
// RUN: llvm-mc %s | FileCheck %s
|
||||
|
||||
|
@ -1,9 +1,9 @@
|
||||
; Checks if llc can deal with different char encodings.
|
||||
; This is only required for z/OS.
|
||||
;
|
||||
; UNSUPPORTED: !s390x-none-zos
|
||||
; REQUIRES: system-zos, systemz-registered-target
|
||||
;
|
||||
; RUN: cat %s >%t && chtag -tc ISO8859-1 %t && llc %t -o - >/dev/null
|
||||
; RUN: cat %s >%t && chtag -tc ISO8859-1 %t && llc -mtriple=s390x-ibm-zos %t -o - >/dev/null
|
||||
; RUN: iconv -f ISO8859-1 -t IBM-1047 <%s >%t && chtag -tc IBM-1047 %t && llc %t -o - >/dev/null
|
||||
; RUN: iconv -f ISO8859-1 -t IBM-1047 <%s >%t && chtag -r %t && llc %t -o - >/dev/null
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
# UNSUPPORTED: -zos
|
||||
# UNSUPPORTED: target={{.*}}-zos{{.*}}
|
||||
# RUN: llvm-mc --no-warn %s 2>&1 | FileCheck %s
|
||||
|
||||
# CHECK-NOT: warning:
|
||||
|
@ -88,6 +88,8 @@ class LLVMConfig(object):
|
||||
features.add('system-aix')
|
||||
elif platform.system() == 'SunOS':
|
||||
features.add('system-solaris')
|
||||
elif platform.system() == 'OS/390':
|
||||
features.add('system-zos')
|
||||
|
||||
# Native compilation: host arch == default triple arch
|
||||
# Both of these values should probably be in every site config (e.g. as
|
||||
|
Loading…
x
Reference in New Issue
Block a user