|
@@ -4,6 +4,7 @@
|
|
// RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>&1 \
|
|
// RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>&1 \
|
|
// RUN: --target=mips-mti-linux-gnu \
|
|
// RUN: --target=mips-mti-linux-gnu \
|
|
// RUN: --gcc-toolchain=%S/Inputs/mips_mti_tree \
|
|
// RUN: --gcc-toolchain=%S/Inputs/mips_mti_tree \
|
|
|
|
+// RUN: --sysroot="" \
|
|
// RUN: -stdlib=libstdc++ \
|
|
// RUN: -stdlib=libstdc++ \
|
|
// RUN: -EB -mhard-float -mabi=32 \
|
|
// RUN: -EB -mhard-float -mabi=32 \
|
|
// RUN: | FileCheck --check-prefix=EB-HARD-O32 %s
|
|
// RUN: | FileCheck --check-prefix=EB-HARD-O32 %s
|
|
@@ -32,6 +33,7 @@
|
|
// RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>&1 \
|
|
// RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>&1 \
|
|
// RUN: --target=mips-mti-linux-gnu \
|
|
// RUN: --target=mips-mti-linux-gnu \
|
|
// RUN: --gcc-toolchain=%S/Inputs/mips_mti_tree \
|
|
// RUN: --gcc-toolchain=%S/Inputs/mips_mti_tree \
|
|
|
|
+// RUN: --sysroot="" \
|
|
// RUN: -stdlib=libstdc++ \
|
|
// RUN: -stdlib=libstdc++ \
|
|
// RUN: -EB -mhard-float -mabi=n32 \
|
|
// RUN: -EB -mhard-float -mabi=n32 \
|
|
// RUN: | FileCheck --check-prefix=EB-HARD-N32 %s
|
|
// RUN: | FileCheck --check-prefix=EB-HARD-N32 %s
|
|
@@ -60,6 +62,7 @@
|
|
// RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>&1 \
|
|
// RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>&1 \
|
|
// RUN: --target=mips64-mti-linux-gnu \
|
|
// RUN: --target=mips64-mti-linux-gnu \
|
|
// RUN: --gcc-toolchain=%S/Inputs/mips_mti_tree \
|
|
// RUN: --gcc-toolchain=%S/Inputs/mips_mti_tree \
|
|
|
|
+// RUN: --sysroot="" \
|
|
// RUN: -stdlib=libstdc++ \
|
|
// RUN: -stdlib=libstdc++ \
|
|
// RUN: -EB -mhard-float -mabi=64 \
|
|
// RUN: -EB -mhard-float -mabi=64 \
|
|
// RUN: | FileCheck --check-prefix=EB-HARD-N64 %s
|
|
// RUN: | FileCheck --check-prefix=EB-HARD-N64 %s
|
|
@@ -88,6 +91,7 @@
|
|
// RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>&1 \
|
|
// RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>&1 \
|
|
// RUN: --target=mips-mti-linux-gnu \
|
|
// RUN: --target=mips-mti-linux-gnu \
|
|
// RUN: --gcc-toolchain=%S/Inputs/mips_mti_tree \
|
|
// RUN: --gcc-toolchain=%S/Inputs/mips_mti_tree \
|
|
|
|
+// RUN: --sysroot="" \
|
|
// RUN: -stdlib=libstdc++ \
|
|
// RUN: -stdlib=libstdc++ \
|
|
// RUN: -EL -mhard-float -mabi=32 \
|
|
// RUN: -EL -mhard-float -mabi=32 \
|
|
// RUN: | FileCheck --check-prefix=EL-HARD-O32 %s
|
|
// RUN: | FileCheck --check-prefix=EL-HARD-O32 %s
|
|
@@ -116,6 +120,7 @@
|
|
// RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>&1 \
|
|
// RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>&1 \
|
|
// RUN: --target=mips-mti-linux-gnu \
|
|
// RUN: --target=mips-mti-linux-gnu \
|
|
// RUN: --gcc-toolchain=%S/Inputs/mips_mti_tree \
|
|
// RUN: --gcc-toolchain=%S/Inputs/mips_mti_tree \
|
|
|
|
+// RUN: --sysroot="" \
|
|
// RUN: -stdlib=libstdc++ \
|
|
// RUN: -stdlib=libstdc++ \
|
|
// RUN: -EL -mhard-float -mabi=n32 \
|
|
// RUN: -EL -mhard-float -mabi=n32 \
|
|
// RUN: | FileCheck --check-prefix=EL-HARD-N32 %s
|
|
// RUN: | FileCheck --check-prefix=EL-HARD-N32 %s
|
|
@@ -144,6 +149,7 @@
|
|
// RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>&1 \
|
|
// RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>&1 \
|
|
// RUN: --target=mips64-mti-linux-gnu \
|
|
// RUN: --target=mips64-mti-linux-gnu \
|
|
// RUN: --gcc-toolchain=%S/Inputs/mips_mti_tree \
|
|
// RUN: --gcc-toolchain=%S/Inputs/mips_mti_tree \
|
|
|
|
+// RUN: --sysroot="" \
|
|
// RUN: -stdlib=libstdc++ \
|
|
// RUN: -stdlib=libstdc++ \
|
|
// RUN: -EL -mhard-float -mabi=64 \
|
|
// RUN: -EL -mhard-float -mabi=64 \
|
|
// RUN: | FileCheck --check-prefix=EL-HARD-N64 %s
|
|
// RUN: | FileCheck --check-prefix=EL-HARD-N64 %s
|
|
@@ -172,6 +178,7 @@
|
|
// RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>&1 \
|
|
// RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>&1 \
|
|
// RUN: --target=mips-mti-linux-gnu \
|
|
// RUN: --target=mips-mti-linux-gnu \
|
|
// RUN: --gcc-toolchain=%S/Inputs/mips_mti_tree \
|
|
// RUN: --gcc-toolchain=%S/Inputs/mips_mti_tree \
|
|
|
|
+// RUN: --sysroot="" \
|
|
// RUN: -stdlib=libstdc++ \
|
|
// RUN: -stdlib=libstdc++ \
|
|
// RUN: -EB -msoft-float \
|
|
// RUN: -EB -msoft-float \
|
|
// RUN: | FileCheck --check-prefix=EB-SOFT %s
|
|
// RUN: | FileCheck --check-prefix=EB-SOFT %s
|
|
@@ -200,6 +207,7 @@
|
|
// RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>&1 \
|
|
// RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>&1 \
|
|
// RUN: --target=mips-mti-linux-gnu \
|
|
// RUN: --target=mips-mti-linux-gnu \
|
|
// RUN: --gcc-toolchain=%S/Inputs/mips_mti_tree \
|
|
// RUN: --gcc-toolchain=%S/Inputs/mips_mti_tree \
|
|
|
|
+// RUN: --sysroot="" \
|
|
// RUN: -stdlib=libstdc++ \
|
|
// RUN: -stdlib=libstdc++ \
|
|
// RUN: -EL -msoft-float \
|
|
// RUN: -EL -msoft-float \
|
|
// RUN: | FileCheck --check-prefix=EL-SOFT %s
|
|
// RUN: | FileCheck --check-prefix=EL-SOFT %s
|
|
@@ -228,6 +236,7 @@
|
|
// RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>&1 \
|
|
// RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>&1 \
|
|
// RUN: --target=mips-mti-linux-gnu \
|
|
// RUN: --target=mips-mti-linux-gnu \
|
|
// RUN: --gcc-toolchain=%S/Inputs/mips_mti_tree \
|
|
// RUN: --gcc-toolchain=%S/Inputs/mips_mti_tree \
|
|
|
|
+// RUN: --sysroot="" \
|
|
// RUN: -stdlib=libstdc++ \
|
|
// RUN: -stdlib=libstdc++ \
|
|
// RUN: -EB -mhard-float -muclibc \
|
|
// RUN: -EB -mhard-float -muclibc \
|
|
// RUN: | FileCheck --check-prefix=EB-HARD-UCLIBC %s
|
|
// RUN: | FileCheck --check-prefix=EB-HARD-UCLIBC %s
|
|
@@ -256,6 +265,7 @@
|
|
// RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>&1 \
|
|
// RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>&1 \
|
|
// RUN: --target=mips-mti-linux-gnu \
|
|
// RUN: --target=mips-mti-linux-gnu \
|
|
// RUN: --gcc-toolchain=%S/Inputs/mips_mti_tree \
|
|
// RUN: --gcc-toolchain=%S/Inputs/mips_mti_tree \
|
|
|
|
+// RUN: --sysroot="" \
|
|
// RUN: -stdlib=libstdc++ \
|
|
// RUN: -stdlib=libstdc++ \
|
|
// RUN: -EL -mhard-float -muclibc \
|
|
// RUN: -EL -mhard-float -muclibc \
|
|
// RUN: | FileCheck --check-prefix=EL-HARD-UCLIBC %s
|
|
// RUN: | FileCheck --check-prefix=EL-HARD-UCLIBC %s
|
|
@@ -284,6 +294,7 @@
|
|
// RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>&1 \
|
|
// RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>&1 \
|
|
// RUN: --target=mips-mti-linux-gnu \
|
|
// RUN: --target=mips-mti-linux-gnu \
|
|
// RUN: --gcc-toolchain=%S/Inputs/mips_mti_tree \
|
|
// RUN: --gcc-toolchain=%S/Inputs/mips_mti_tree \
|
|
|
|
+// RUN: --sysroot="" \
|
|
// RUN: -stdlib=libstdc++ \
|
|
// RUN: -stdlib=libstdc++ \
|
|
// RUN: -EB -mhard-float -mnan=2008 \
|
|
// RUN: -EB -mhard-float -mnan=2008 \
|
|
// RUN: | FileCheck --check-prefix=EB-HARD-NAN2008 %s
|
|
// RUN: | FileCheck --check-prefix=EB-HARD-NAN2008 %s
|
|
@@ -312,6 +323,7 @@
|
|
// RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>&1 \
|
|
// RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>&1 \
|
|
// RUN: --target=mips-mti-linux-gnu \
|
|
// RUN: --target=mips-mti-linux-gnu \
|
|
// RUN: --gcc-toolchain=%S/Inputs/mips_mti_tree \
|
|
// RUN: --gcc-toolchain=%S/Inputs/mips_mti_tree \
|
|
|
|
+// RUN: --sysroot="" \
|
|
// RUN: -stdlib=libstdc++ \
|
|
// RUN: -stdlib=libstdc++ \
|
|
// RUN: -EL -mhard-float -mnan=2008 \
|
|
// RUN: -EL -mhard-float -mnan=2008 \
|
|
// RUN: | FileCheck --check-prefix=EL-HARD-NAN2008 %s
|
|
// RUN: | FileCheck --check-prefix=EL-HARD-NAN2008 %s
|
|
@@ -340,6 +352,7 @@
|
|
// RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>&1 \
|
|
// RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>&1 \
|
|
// RUN: --target=mips-mti-linux-gnu \
|
|
// RUN: --target=mips-mti-linux-gnu \
|
|
// RUN: --gcc-toolchain=%S/Inputs/mips_mti_tree \
|
|
// RUN: --gcc-toolchain=%S/Inputs/mips_mti_tree \
|
|
|
|
+// RUN: --sysroot="" \
|
|
// RUN: -stdlib=libstdc++ \
|
|
// RUN: -stdlib=libstdc++ \
|
|
// RUN: -EB -mhard-float -muclibc -mnan=2008 \
|
|
// RUN: -EB -mhard-float -muclibc -mnan=2008 \
|
|
// RUN: | FileCheck --check-prefix=EB-HARD-UCLIBC-NAN2008 %s
|
|
// RUN: | FileCheck --check-prefix=EB-HARD-UCLIBC-NAN2008 %s
|
|
@@ -368,6 +381,7 @@
|
|
// RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>&1 \
|
|
// RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>&1 \
|
|
// RUN: --target=mips-mti-linux-gnu \
|
|
// RUN: --target=mips-mti-linux-gnu \
|
|
// RUN: --gcc-toolchain=%S/Inputs/mips_mti_tree \
|
|
// RUN: --gcc-toolchain=%S/Inputs/mips_mti_tree \
|
|
|
|
+// RUN: --sysroot="" \
|
|
// RUN: -stdlib=libstdc++ \
|
|
// RUN: -stdlib=libstdc++ \
|
|
// RUN: -EL -mhard-float -muclibc -mnan=2008 \
|
|
// RUN: -EL -mhard-float -muclibc -mnan=2008 \
|
|
// RUN: | FileCheck --check-prefix=EL-HARD-UCLIBC-NAN2008 %s
|
|
// RUN: | FileCheck --check-prefix=EL-HARD-UCLIBC-NAN2008 %s
|
|
@@ -396,6 +410,7 @@
|
|
// RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>&1 \
|
|
// RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>&1 \
|
|
// RUN: --target=mips-mti-linux-gnu \
|
|
// RUN: --target=mips-mti-linux-gnu \
|
|
// RUN: --gcc-toolchain=%S/Inputs/mips_mti_tree \
|
|
// RUN: --gcc-toolchain=%S/Inputs/mips_mti_tree \
|
|
|
|
+// RUN: --sysroot="" \
|
|
// RUN: -stdlib=libstdc++ \
|
|
// RUN: -stdlib=libstdc++ \
|
|
// RUN: -EL -msoft-float -mmicromips \
|
|
// RUN: -EL -msoft-float -mmicromips \
|
|
// RUN: | FileCheck --check-prefix=EL-SOFT-MICRO %s
|
|
// RUN: | FileCheck --check-prefix=EL-SOFT-MICRO %s
|
|
@@ -424,6 +439,7 @@
|
|
// RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>&1 \
|
|
// RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>&1 \
|
|
// RUN: --target=mips-mti-linux-gnu \
|
|
// RUN: --target=mips-mti-linux-gnu \
|
|
// RUN: --gcc-toolchain=%S/Inputs/mips_mti_tree \
|
|
// RUN: --gcc-toolchain=%S/Inputs/mips_mti_tree \
|
|
|
|
+// RUN: --sysroot="" \
|
|
// RUN: -stdlib=libstdc++ \
|
|
// RUN: -stdlib=libstdc++ \
|
|
// RUN: -EL -mhard-float -mmicromips -mnan=2008 \
|
|
// RUN: -EL -mhard-float -mmicromips -mnan=2008 \
|
|
// RUN: | FileCheck --check-prefix=EL-SOFT-MICRO-NAN2008 %s
|
|
// RUN: | FileCheck --check-prefix=EL-SOFT-MICRO-NAN2008 %s
|