diff options
author | dim <dim@FreeBSD.org> | 2013-12-22 00:07:40 +0000 |
---|---|---|
committer | dim <dim@FreeBSD.org> | 2013-12-22 00:07:40 +0000 |
commit | 952eddef9aff85b1e92626e89baaf7a360e2ac85 (patch) | |
tree | df8df0b0067b381eab470a3b8f28d14a552a6340 /test/Driver/mips-cs-header-search.cpp | |
parent | ea266cad53e3d49771fa38103913d3ec7a166694 (diff) | |
download | FreeBSD-src-952eddef9aff85b1e92626e89baaf7a360e2ac85.zip FreeBSD-src-952eddef9aff85b1e92626e89baaf7a360e2ac85.tar.gz |
Vendor import of clang release_34 branch r197841 (effectively, 3.4 RC3):
https://llvm.org/svn/llvm-project/cfe/branches/release_34@197841
Diffstat (limited to 'test/Driver/mips-cs-header-search.cpp')
-rw-r--r-- | test/Driver/mips-cs-header-search.cpp | 64 |
1 files changed, 32 insertions, 32 deletions
diff --git a/test/Driver/mips-cs-header-search.cpp b/test/Driver/mips-cs-header-search.cpp index e59fadc..55380316 100644 --- a/test/Driver/mips-cs-header-search.cpp +++ b/test/Driver/mips-cs-header-search.cpp @@ -2,8 +2,8 @@ // // = Big-endian, hard float // RUN: %clang -no-canonical-prefixes %s -### -c -o %t.o 2>&1 \ -// RUN: -target mips-linux-gnu \ -// RUN: -gcc-toolchain %S/Inputs/mips_cs_tree \ +// RUN: --target=mips-linux-gnu \ +// RUN: --gcc-toolchain=%S/Inputs/mips_cs_tree \ // RUN: | FileCheck --check-prefix=CHECK-BE-HF-32 %s // CHECK-BE-HF-32: "-internal-isystem" // CHECK-BE-HF-32: "[[TC:[^"]+/lib/gcc/mips-linux-gnu/4.6.3]]/../../../../mips-linux-gnu/include/c++/4.6.3" @@ -18,8 +18,8 @@ // // = Big-endian, hard float, mips16 // RUN: %clang -no-canonical-prefixes %s -### -c -o %t.o 2>&1 \ -// RUN: -target mips-linux-gnu -mips16 \ -// RUN: -gcc-toolchain %S/Inputs/mips_cs_tree \ +// RUN: --target=mips-linux-gnu -mips16 \ +// RUN: --gcc-toolchain=%S/Inputs/mips_cs_tree \ // RUN: | FileCheck --check-prefix=CHECK-BE-HF-16 %s // CHECK-BE-HF-16: "-internal-isystem" // CHECK-BE-HF-16: "[[TC:[^"]+/lib/gcc/mips-linux-gnu/4.6.3]]/../../../../mips-linux-gnu/include/c++/4.6.3" @@ -34,8 +34,8 @@ // // = Big-endian, hard float, micromips // RUN: %clang -no-canonical-prefixes %s -### -c -o %t.o 2>&1 \ -// RUN: -target mips-linux-gnu -mmicromips \ -// RUN: -gcc-toolchain %S/Inputs/mips_cs_tree \ +// RUN: --target=mips-linux-gnu -mmicromips \ +// RUN: --gcc-toolchain=%S/Inputs/mips_cs_tree \ // RUN: | FileCheck --check-prefix=CHECK-BE-HF-MICRO %s // CHECK-BE-HF-MICRO: "-internal-isystem" // CHECK-BE-HF-MICRO: "[[TC:[^"]+/lib/gcc/mips-linux-gnu/4.6.3]]/../../../../mips-linux-gnu/include/c++/4.6.3" @@ -50,8 +50,8 @@ // // = Big-endian, soft float // RUN: %clang -no-canonical-prefixes %s -### -c -o %t.o 2>&1 \ -// RUN: -target mips-linux-gnu -msoft-float \ -// RUN: -gcc-toolchain %S/Inputs/mips_cs_tree \ +// RUN: --target=mips-linux-gnu -msoft-float \ +// RUN: --gcc-toolchain=%S/Inputs/mips_cs_tree \ // RUN: | FileCheck --check-prefix=CHECK-BE-SF-32 %s // CHECK-BE-SF-32: "-internal-isystem" // CHECK-BE-SF-32: "[[TC:[^"]+/lib/gcc/mips-linux-gnu/4.6.3]]/../../../../mips-linux-gnu/include/c++/4.6.3" @@ -66,8 +66,8 @@ // // = Big-endian, soft float, mips16 // RUN: %clang -no-canonical-prefixes %s -### -c -o %t.o 2>&1 \ -// RUN: -target mips-linux-gnu -msoft-float -mips16 \ -// RUN: -gcc-toolchain %S/Inputs/mips_cs_tree \ +// RUN: --target=mips-linux-gnu -msoft-float -mips16 \ +// RUN: --gcc-toolchain=%S/Inputs/mips_cs_tree \ // RUN: | FileCheck --check-prefix=CHECK-BE-SF-16 %s // CHECK-BE-SF-16: "-internal-isystem" // CHECK-BE-SF-16: "[[TC:[^"]+/lib/gcc/mips-linux-gnu/4.6.3]]/../../../../mips-linux-gnu/include/c++/4.6.3" @@ -82,8 +82,8 @@ // // = Big-endian, soft float, micromips // RUN: %clang -no-canonical-prefixes %s -### -c -o %t.o 2>&1 \ -// RUN: -target mips-linux-gnu -msoft-float -mmicromips \ -// RUN: -gcc-toolchain %S/Inputs/mips_cs_tree \ +// RUN: --target=mips-linux-gnu -msoft-float -mmicromips \ +// RUN: --gcc-toolchain=%S/Inputs/mips_cs_tree \ // RUN: | FileCheck --check-prefix=CHECK-BE-SF-MICRO %s // CHECK-BE-SF-MICRO: "-internal-isystem" // CHECK-BE-SF-MICRO: "[[TC:[^"]+/lib/gcc/mips-linux-gnu/4.6.3]]/../../../../mips-linux-gnu/include/c++/4.6.3" @@ -98,8 +98,8 @@ // // = Big-endian, hard float, 64-bit // RUN: %clang -no-canonical-prefixes %s -### -c -o %t.o 2>&1 \ -// RUN: -target mips64-linux-gnu \ -// RUN: -gcc-toolchain %S/Inputs/mips_cs_tree \ +// RUN: --target=mips64-linux-gnu \ +// RUN: --gcc-toolchain=%S/Inputs/mips_cs_tree \ // RUN: | FileCheck --check-prefix=CHECK-BE-HF-64 %s // CHECK-BE-HF-64: "-internal-isystem" // CHECK-BE-HF-64: "[[TC:[^"]+/lib/gcc/mips-linux-gnu/4.6.3]]/../../../../mips-linux-gnu/include/c++/4.6.3" @@ -114,8 +114,8 @@ // // = Big-endian, soft float, 64-bit // RUN: %clang -no-canonical-prefixes %s -### -c -o %t.o 2>&1 \ -// RUN: -target mips64-linux-gnu -msoft-float \ -// RUN: -gcc-toolchain %S/Inputs/mips_cs_tree \ +// RUN: --target=mips64-linux-gnu -msoft-float \ +// RUN: --gcc-toolchain=%S/Inputs/mips_cs_tree \ // RUN: | FileCheck --check-prefix=CHECK-BE-SF-64 %s // CHECK-BE-SF-64: "-internal-isystem" // CHECK-BE-SF-64: "[[TC:[^"]+/lib/gcc/mips-linux-gnu/4.6.3]]/../../../../mips-linux-gnu/include/c++/4.6.3" @@ -130,8 +130,8 @@ // // = Little-endian, hard float // RUN: %clang -no-canonical-prefixes %s -### -c -o %t.o 2>&1 \ -// RUN: -target mipsel-linux-gnu -mhard-float \ -// RUN: -gcc-toolchain %S/Inputs/mips_cs_tree \ +// RUN: --target=mipsel-linux-gnu -mhard-float \ +// RUN: --gcc-toolchain=%S/Inputs/mips_cs_tree \ // RUN: | FileCheck --check-prefix=CHECK-EL-HF-32 %s // CHECK-EL-HF-32: "-internal-isystem" // CHECK-EL-HF-32: "[[TC:[^"]+/lib/gcc/mips-linux-gnu/4.6.3]]/../../../../mips-linux-gnu/include/c++/4.6.3" @@ -146,8 +146,8 @@ // // = Little-endian, hard float, mips16 // RUN: %clang -no-canonical-prefixes %s -### -c -o %t.o 2>&1 \ -// RUN: -target mipsel-linux-gnu -mips16 \ -// RUN: -gcc-toolchain %S/Inputs/mips_cs_tree \ +// RUN: --target=mipsel-linux-gnu -mips16 \ +// RUN: --gcc-toolchain=%S/Inputs/mips_cs_tree \ // RUN: | FileCheck --check-prefix=CHECK-EL-HF-16 %s // CHECK-EL-HF-16: "-internal-isystem" // CHECK-EL-HF-16: "[[TC:[^"]+/lib/gcc/mips-linux-gnu/4.6.3]]/../../../../mips-linux-gnu/include/c++/4.6.3" @@ -162,8 +162,8 @@ // // = Little-endian, hard float, micromips // RUN: %clang -no-canonical-prefixes %s -### -c -o %t.o 2>&1 \ -// RUN: -target mipsel-linux-gnu -mmicromips \ -// RUN: -gcc-toolchain %S/Inputs/mips_cs_tree \ +// RUN: --target=mipsel-linux-gnu -mmicromips \ +// RUN: --gcc-toolchain=%S/Inputs/mips_cs_tree \ // RUN: | FileCheck --check-prefix=CHECK-EL-HF-MICRO %s // CHECK-EL-HF-MICRO: "-internal-isystem" // CHECK-EL-HF-MICRO: "[[TC:[^"]+/lib/gcc/mips-linux-gnu/4.6.3]]/../../../../mips-linux-gnu/include/c++/4.6.3" @@ -178,8 +178,8 @@ // // = Little-endian, soft float // RUN: %clang -no-canonical-prefixes %s -### -c -o %t.o 2>&1 \ -// RUN: -target mipsel-linux-gnu -mfloat-abi=soft \ -// RUN: -gcc-toolchain %S/Inputs/mips_cs_tree \ +// RUN: --target=mipsel-linux-gnu -mfloat-abi=soft \ +// RUN: --gcc-toolchain=%S/Inputs/mips_cs_tree \ // RUN: | FileCheck --check-prefix=CHECK-EL-SF-32 %s // CHECK-EL-SF-32: "-internal-isystem" // CHECK-EL-SF-32: "[[TC:[^"]+/lib/gcc/mips-linux-gnu/4.6.3]]/../../../../mips-linux-gnu/include/c++/4.6.3" @@ -194,8 +194,8 @@ // // = Little-endian, soft float, mips16 // RUN: %clang -no-canonical-prefixes %s -### -c -o %t.o 2>&1 \ -// RUN: -target mipsel-linux-gnu -mips16 -msoft-float \ -// RUN: -gcc-toolchain %S/Inputs/mips_cs_tree \ +// RUN: --target=mipsel-linux-gnu -mips16 -msoft-float \ +// RUN: --gcc-toolchain=%S/Inputs/mips_cs_tree \ // RUN: | FileCheck --check-prefix=CHECK-EL-SF-16 %s // CHECK-EL-SF-16: "-internal-isystem" // CHECK-EL-SF-16: "[[TC:[^"]+/lib/gcc/mips-linux-gnu/4.6.3]]/../../../../mips-linux-gnu/include/c++/4.6.3" @@ -210,8 +210,8 @@ // // = Little-endian, soft float, micromips // RUN: %clang -no-canonical-prefixes %s -### -c -o %t.o 2>&1 \ -// RUN: -target mipsel-linux-gnu -mmicromips -msoft-float \ -// RUN: -gcc-toolchain %S/Inputs/mips_cs_tree \ +// RUN: --target=mipsel-linux-gnu -mmicromips -msoft-float \ +// RUN: --gcc-toolchain=%S/Inputs/mips_cs_tree \ // RUN: | FileCheck --check-prefix=CHECK-EL-SF-MICRO %s // CHECK-EL-SF-MICRO: "-internal-isystem" // CHECK-EL-SF-MICRO: "[[TC:[^"]+/lib/gcc/mips-linux-gnu/4.6.3]]/../../../../mips-linux-gnu/include/c++/4.6.3" @@ -226,8 +226,8 @@ // // = Little-endian, hard float, 64-bit // RUN: %clang -no-canonical-prefixes %s -### -c -o %t.o 2>&1 \ -// RUN: -target mips64el-linux-gnu \ -// RUN: -gcc-toolchain %S/Inputs/mips_cs_tree \ +// RUN: --target=mips64el-linux-gnu \ +// RUN: --gcc-toolchain=%S/Inputs/mips_cs_tree \ // RUN: | FileCheck --check-prefix=CHECK-EL-HF-64 %s // CHECK-EL-HF-64: "-internal-isystem" // CHECK-EL-HF-64: "[[TC:[^"]+/lib/gcc/mips-linux-gnu/4.6.3]]/../../../../mips-linux-gnu/include/c++/4.6.3" @@ -242,8 +242,8 @@ // // = Little-endian, soft float, 64-bit // RUN: %clang -no-canonical-prefixes %s -### -c -o %t.o 2>&1 \ -// RUN: -target mips64el-linux-gnu -msoft-float \ -// RUN: -gcc-toolchain %S/Inputs/mips_cs_tree \ +// RUN: --target=mips64el-linux-gnu -msoft-float \ +// RUN: --gcc-toolchain=%S/Inputs/mips_cs_tree \ // RUN: | FileCheck --check-prefix=CHECK-EL-SF-64 %s // CHECK-EL-SF-64: "-internal-isystem" // CHECK-EL-SF-64: "[[TC:[^"]+/lib/gcc/mips-linux-gnu/4.6.3]]/../../../../mips-linux-gnu/include/c++/4.6.3" |