mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-11-23 13:50:11 +00:00
[lit][AIX] Convert clang tests to use 'target={{.*}}-aix{{.*}}'
Part of the project to eliminate special handling for triples in lit expressions. Differential Revision: https://reviews.llvm.org/D137437
This commit is contained in:
parent
5336b1ed75
commit
64e4d03c68
@ -1,4 +1,4 @@
|
||||
// UNSUPPORTED: powerpc64-ibm-aix
|
||||
// UNSUPPORTED: target=powerpc64-ibm-aix{{.*}}
|
||||
// RUN: %clang_cc1 -emit-pch -o %t.1.ast %S/Inputs/body1.c
|
||||
// RUN: %clang_cc1 -emit-pch -o %t.2.ast %S/Inputs/body2.c
|
||||
// RUN: %clang_cc1 -emit-obj -o /dev/null -ast-merge %t.1.ast -ast-merge %t.2.ast %s
|
||||
|
@ -1,4 +1,4 @@
|
||||
// UNSUPPORTED: -zos, -aix
|
||||
// UNSUPPORTED: -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: powerpc64-ibm-aix
|
||||
// UNSUPPORTED: target=powerpc64-ibm-aix{{.*}}
|
||||
// RUN: rm -rf %t.dir
|
||||
// RUN: rm -rf %t.cdb
|
||||
// RUN: mkdir -p %t.dir
|
||||
|
@ -1,6 +1,6 @@
|
||||
// Unsupported on AIX because we don't support the requisite "__clangast"
|
||||
// section in XCOFF yet.
|
||||
// UNSUPPORTED: aix
|
||||
// UNSUPPORTED: target={{.*}}-aix{{.*}}
|
||||
|
||||
// RUN: rm -rf %t && mkdir %t
|
||||
// RUN: split-file %s %t
|
||||
|
@ -1,6 +1,6 @@
|
||||
// Unsupported on AIX because we don't support the requisite "__clangast"
|
||||
// section in XCOFF yet.
|
||||
// UNSUPPORTED: aix
|
||||
// UNSUPPORTED: target={{.*}}-aix{{.*}}
|
||||
|
||||
// Check that when depending on a precompiled module, we depend on the
|
||||
// **top-level** module. Submodules don't have some information present (for
|
||||
|
@ -1,6 +1,6 @@
|
||||
// Unsupported on AIX because we don't support the requisite "__clangast"
|
||||
// section in XCOFF yet.
|
||||
// UNSUPPORTED: aix
|
||||
// UNSUPPORTED: target={{.*}}-aix{{.*}}
|
||||
|
||||
// Check that we discover dependency on a precompiled module when it's imported
|
||||
// by a **submodule** instead of a top-level module.
|
||||
|
@ -1,6 +1,6 @@
|
||||
// Unsupported on AIX because we don't support the requisite "__clangast"
|
||||
// section in XCOFF yet.
|
||||
// UNSUPPORTED: aix
|
||||
// UNSUPPORTED: target={{.*}}-aix{{.*}}
|
||||
|
||||
// This test checks that the dependency scanner can handle larger amount of
|
||||
// explicitly built modules retrieved from the PCH.
|
||||
|
@ -1,6 +1,6 @@
|
||||
// Unsupported on AIX because we don't support the requisite "__clangast"
|
||||
// section in XCOFF yet.
|
||||
// UNSUPPORTED: aix
|
||||
// UNSUPPORTED: target={{.*}}-aix{{.*}}
|
||||
|
||||
// RUN: rm -rf %t && mkdir %t
|
||||
// RUN: cp %S/Inputs/modules-pch/* %t
|
||||
|
@ -2,7 +2,7 @@
|
||||
// RUN: split-file %s %t
|
||||
// Unsupported on AIX because we don't support the requisite "__clangast"
|
||||
// section in XCOFF yet.
|
||||
// UNSUPPORTED: system-windows, aix
|
||||
// UNSUPPORTED: system-windows, target={{.*}}-aix{{.*}}
|
||||
|
||||
//--- cdb_pch.json
|
||||
[
|
||||
|
@ -1,4 +1,4 @@
|
||||
// UNSUPPORTED: powerpc64-ibm-aix
|
||||
// UNSUPPORTED: target=powerpc64-ibm-aix{{.*}}
|
||||
// REQUIRES: shell
|
||||
|
||||
// RUN: rm -rf %t && mkdir %t
|
||||
|
@ -1,4 +1,4 @@
|
||||
// UNSUPPORTED: -zos, -aix
|
||||
// UNSUPPORTED: -zos, target={{.*}}-aix{{.*}}
|
||||
// RUN: %clang_cc1 -emit-llvm %s -o %t
|
||||
|
||||
typedef const struct __CFString * CFStringRef;
|
||||
|
@ -6,7 +6,7 @@
|
||||
; scenario independent of any particular backend options that may exist now or
|
||||
; in the future.
|
||||
|
||||
; XFAIL: aix
|
||||
; XFAIL: target={{.*}}-aix{{.*}}
|
||||
|
||||
; RUN: %clang -flto=thin -c -o %t.o %s
|
||||
; RUN: llvm-lto -thinlto -o %t %t.o
|
||||
|
@ -1,4 +1,4 @@
|
||||
// XFAIL: aix
|
||||
// XFAIL: target={{.*}}-aix{{.*}}
|
||||
|
||||
// Test to ensure -emit-llvm and -emit-llvm-bc work when invoking the
|
||||
// ThinLTO backend path.
|
||||
|
@ -1,6 +1,6 @@
|
||||
// REQUIRES: x86-registered-target
|
||||
// REQUIRES: asserts
|
||||
// UNSUPPORTED: darwin, aix
|
||||
// UNSUPPORTED: darwin, target={{.*}}-aix{{.*}}
|
||||
|
||||
// Generate the file we can bundle.
|
||||
// RUN: %clang -O0 -target %itanium_abi_triple %s -c -o %t.o
|
||||
|
@ -1,6 +1,6 @@
|
||||
// REQUIRES: x86-registered-target
|
||||
// REQUIRES: powerpc-registered-target
|
||||
// UNSUPPORTED: darwin, aix
|
||||
// UNSUPPORTED: darwin, target={{.*}}-aix{{.*}}
|
||||
|
||||
//
|
||||
// Generate all the types of files we can bundle.
|
||||
|
@ -3,7 +3,7 @@
|
||||
// XFAIL: target={{.*-windows.*}}, target={{.*-(ps4|ps5)}}
|
||||
|
||||
// For some reason, this fails with a core dump on AIX. This needs to be investigated.
|
||||
// UNSUPPORTED: aix
|
||||
// UNSUPPORTED: target={{.*}}-aix{{.*}}
|
||||
|
||||
// RUN: %clangxx -fexperimental-library -stdlib=libc++ -### %s 2>&1 | FileCheck --check-prefixes=CHECK,CHECK-LIBCXX %s
|
||||
// RUN: %clangxx -fexperimental-library -stdlib=libstdc++ -### %s 2>&1 | FileCheck --check-prefixes=CHECK,CHECK-LIBSTDCXX %s
|
||||
|
@ -1,5 +1,5 @@
|
||||
// REQUIRES: x86-registered-target
|
||||
// UNSUPPORTED: target={{.*-windows.*}}, darwin, aix
|
||||
// UNSUPPORTED: target={{.*-windows.*}}, darwin, target={{.*}}-aix{{.*}}
|
||||
|
||||
// Generate dummy fat object
|
||||
// RUN: %clang -O0 -target %itanium_abi_triple %s -c -o %t.host.o
|
||||
|
@ -1,6 +1,6 @@
|
||||
// REQUIRES: x86-registered-target
|
||||
// REQUIRES: amdgpu-registered-target
|
||||
// UNSUPPORTED: aix
|
||||
// UNSUPPORTED: target={{.*}}-aix{{.*}}
|
||||
|
||||
// RUN: %clang -v --rocm-path=%S/Inputs/rocm 2>&1 \
|
||||
// RUN: | FileCheck -check-prefixes=FOUND %s
|
||||
|
@ -1,4 +1,4 @@
|
||||
// XFAIL: aix
|
||||
// XFAIL: target={{.*}}-aix{{.*}}
|
||||
|
||||
// RUN: %clang -O2 %s -flto=thin -c -o %t.o
|
||||
// RUN: llvm-lto -thinlto -o %t %t.o
|
||||
|
@ -1,4 +1,4 @@
|
||||
// UNSUPPORTED: -zos, -aix
|
||||
// UNSUPPORTED: -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, -aix
|
||||
// UNSUPPORTED: -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, -aix
|
||||
// UNSUPPORTED: -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, -aix
|
||||
// UNSUPPORTED: -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, -aix
|
||||
// UNSUPPORTED: -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, -aix
|
||||
// UNSUPPORTED: -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, -aix
|
||||
// UNSUPPORTED: -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 @@
|
||||
// XFAIL: aix
|
||||
// XFAIL: target={{.*}}-aix{{.*}}
|
||||
|
||||
// Test to ensure -emit-llvm profile-sample-accurate is honored in ThinLTO.
|
||||
// RUN: %clang -O2 %s -flto=thin -fprofile-sample-accurate -c -o %t.o
|
||||
|
@ -1,4 +1,4 @@
|
||||
// UNSUPPORTED: -zos, -aix
|
||||
// UNSUPPORTED: -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 @@
|
||||
// XFAIL: -aix
|
||||
// XFAIL: target={{.*}}-aix{{.*}}
|
||||
// RUN: rm -rf %t
|
||||
// RUN: %clang_cc1 -fmodules -fmodule-format=obj -debug-info-kind=limited -dwarf-ext-refs \
|
||||
// RUN: -fimplicit-module-maps -x c -fmodules-cache-path=%t -I %S/Inputs \
|
||||
|
@ -1,4 +1,4 @@
|
||||
// UNSUPPORTED: -zos, -aix
|
||||
// UNSUPPORTED: -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, -aix
|
||||
// UNSUPPORTED: -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, -aix
|
||||
// UNSUPPORTED: -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, -aix
|
||||
// UNSUPPORTED: -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, -aix
|
||||
// UNSUPPORTED: -zos, target={{.*}}-aix{{.*}}
|
||||
// Test that debug info is emitted for an Objective-C module and
|
||||
// a precompiled header.
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
// UNSUPPORTED: -zos, -aix
|
||||
// UNSUPPORTED: -zos, target={{.*}}-aix{{.*}}
|
||||
// Tests that dwoIds in modules match the dwoIDs in the main file.
|
||||
|
||||
// REQUIRES: asserts
|
||||
|
@ -1,4 +1,4 @@
|
||||
// UNSUPPORTED: -zos, -aix
|
||||
// UNSUPPORTED: -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, -aix
|
||||
// UNSUPPORTED: -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, -aix
|
||||
// UNSUPPORTED: -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, -aix
|
||||
// UNSUPPORTED: -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, -aix
|
||||
// UNSUPPORTED: -zos, target={{.*}}-aix{{.*}}
|
||||
@import DependsOnModule;
|
||||
|
||||
// RUN: rm -rf %t %t-obj
|
||||
|
@ -1,4 +1,4 @@
|
||||
// UNSUPPORTED: -zos, -aix
|
||||
// UNSUPPORTED: -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, -aix
|
||||
// UNSUPPORTED: -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, -aix
|
||||
// UNSUPPORTED: -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, -aix
|
||||
// UNSUPPORTED: -zos, target={{.*}}-aix{{.*}}
|
||||
// RUN: rm -rf %t
|
||||
// RUN: %clang_cc1 -no-opaque-pointers -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, -aix
|
||||
// UNSUPPORTED: -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, -aix
|
||||
// UNSUPPORTED: -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, -aix
|
||||
// UNSUPPORTED: -zos, target={{.*}}-aix{{.*}}
|
||||
|
||||
// Test a case when Objective-C interface is imported both as hidden and as visible.
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
// UNSUPPORTED: -zos, -aix
|
||||
// UNSUPPORTED: -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: -aix
|
||||
// UNSUPPORTED: 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 -Werror=objc-method-access -DHIDDEN_FIRST=1 \
|
||||
|
@ -1,4 +1,4 @@
|
||||
// UNSUPPORTED: -zos, -aix
|
||||
// UNSUPPORTED: -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, -aix
|
||||
// UNSUPPORTED: -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, -aix
|
||||
// UNSUPPORTED: -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, -aix
|
||||
// UNSUPPORTED: -zos, target={{.*}}-aix{{.*}}
|
||||
// REQUIRES: asserts
|
||||
|
||||
// Modules:
|
||||
|
@ -1,4 +1,4 @@
|
||||
// UNSUPPORTED: -zos, -aix
|
||||
// UNSUPPORTED: -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, -aix
|
||||
// UNSUPPORTED: -zos, target={{.*}}-aix{{.*}}
|
||||
@import DependsOnModule;
|
||||
|
||||
// RUN: rm -rf %t %t-obj
|
||||
|
@ -1,4 +1,4 @@
|
||||
// UNSUPPORTED: -zos, -aix
|
||||
// UNSUPPORTED: -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, -aix
|
||||
// UNSUPPORTED: -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, -aix
|
||||
// UNSUPPORTED: -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, -aix
|
||||
// UNSUPPORTED: -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,6 +1,6 @@
|
||||
// Unsupported on AIX because we don't support the requisite "__clangast"
|
||||
// section in XCOFF yet.
|
||||
// UNSUPPORTED: aix
|
||||
// UNSUPPORTED: target={{.*}}-aix{{.*}}
|
||||
|
||||
// RUN: rm -rf %t
|
||||
// RUN: mkdir %t
|
||||
|
@ -1,4 +1,4 @@
|
||||
// UNSUPPORTED: -zos, -aix
|
||||
// UNSUPPORTED: -zos, target={{.*}}-aix{{.*}}
|
||||
// Test for assertion failure due to objc_externally_retained on a function.
|
||||
|
||||
// Without PCH
|
||||
|
@ -1,4 +1,4 @@
|
||||
// UNSUPPORTED: -zos, -aix
|
||||
// UNSUPPORTED: -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, -aix
|
||||
// UNSUPPORTED: -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, -aix
|
||||
// UNSUPPORTED: -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, -aix
|
||||
// UNSUPPORTED: -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, -aix
|
||||
// UNSUPPORTED: -zos, target={{.*}}-aix{{.*}}
|
||||
// Test this without pch.
|
||||
// RUN: %clang_cc1 -no-opaque-pointers -include %S/objcxx-ivar-class.h -triple %itanium_abi_triple %s -emit-llvm -o - | FileCheck %s
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
// UNSUPPORTED: -zos, -aix
|
||||
// UNSUPPORTED: -zos, target={{.*}}-aix{{.*}}
|
||||
// Test for rdar://10278815
|
||||
|
||||
// Without PCH
|
||||
|
Loading…
Reference in New Issue
Block a user