forked from OSchip/llvm-project
Fix Driver tests that I broke on Windows in r214924
llvm-svn: 214931
This commit is contained in:
parent
d28bc5e2f2
commit
74a6816b33
|
@ -3,20 +3,20 @@
|
|||
// RUN: %clang %s -### -o %t.o -target i386-unknown-linux \
|
||||
// RUN: -B %S/Inputs/B_opt_tree/dir1 2>&1 \
|
||||
// RUN: | FileCheck --check-prefix=CHECK-B-OPT-TRIPLE %s
|
||||
// CHECK-B-OPT-TRIPLE: "{{.*}}/Inputs/B_opt_tree/dir1{{/|\\}}i386-unknown-linux-ld"
|
||||
// CHECK-B-OPT-TRIPLE: "{{.*}}/Inputs/B_opt_tree/dir1{{/|\\\\}}i386-unknown-linux-ld"
|
||||
//
|
||||
// RUN: %clang %s -### -o %t.o -target i386-unknown-linux \
|
||||
// RUN: -B %S/Inputs/B_opt_tree/dir2 2>&1 \
|
||||
// RUN: | FileCheck --check-prefix=CHECK-B-OPT-DIR %s
|
||||
// CHECK-B-OPT-DIR: "{{.*}}/Inputs/B_opt_tree/dir2{{/|\\}}ld"
|
||||
// CHECK-B-OPT-DIR: "{{.*}}/Inputs/B_opt_tree/dir2{{/|\\\\}}ld"
|
||||
//
|
||||
// RUN: %clang %s -### -o %t.o -target i386-unknown-linux \
|
||||
// RUN: -B %S/Inputs/B_opt_tree/dir3/prefix- 2>&1 \
|
||||
// RUN: | FileCheck --check-prefix=CHECK-B-OPT-PREFIX %s
|
||||
// CHECK-B-OPT-PREFIX: "{{.*}}/Inputs/B_opt_tree/dir3{{/|\\}}prefix-ld"
|
||||
// CHECK-B-OPT-PREFIX: "{{.*}}/Inputs/B_opt_tree/dir3{{/|\\\\}}prefix-ld"
|
||||
//
|
||||
// RUN: %clang %s -### -o %t.o -target i386-unknown-linux \
|
||||
// RUN: -B %S/Inputs/B_opt_tree/dir3/prefix- \
|
||||
// RUN: -B %S/Inputs/B_opt_tree/dir2 2>&1 \
|
||||
// RUN: | FileCheck --check-prefix=CHECK-B-OPT-MULT %s
|
||||
// CHECK-B-OPT-MULT: "{{.*}}/Inputs/B_opt_tree/dir3{{/|\\}}prefix-ld"
|
||||
// CHECK-B-OPT-MULT: "{{.*}}/Inputs/B_opt_tree/dir3{{/|\\\\}}prefix-ld"
|
||||
|
|
|
@ -3,24 +3,24 @@
|
|||
// RUN: --target=i386-unknown-linux-gnu \
|
||||
// RUN: | FileCheck --check-prefix=CHECK-I386 %s
|
||||
// CHECK-I386: "-cc1" "-triple" "i386-unknown-linux-gnu"
|
||||
// CHECK-I386: "{{.*}}/Inputs/basic_cross_linux_tree/usr/lib/gcc/i386-unknown-linux-gnu/4.6.0/../../../../i386-unknown-linux-gnu/bin{{/|\\}}as" "--32"
|
||||
// CHECK-I386: "{{.*}}/Inputs/basic_cross_linux_tree/usr/lib/gcc/i386-unknown-linux-gnu/4.6.0/../../../../i386-unknown-linux-gnu/bin{{/|\\}}ld" {{.*}} "-m" "elf_i386"
|
||||
// CHECK-I386: "{{.*}}/Inputs/basic_cross_linux_tree/usr/lib/gcc/i386-unknown-linux-gnu/4.6.0/../../../../i386-unknown-linux-gnu/bin{{/|\\\\}}as" "--32"
|
||||
// CHECK-I386: "{{.*}}/Inputs/basic_cross_linux_tree/usr/lib/gcc/i386-unknown-linux-gnu/4.6.0/../../../../i386-unknown-linux-gnu/bin{{/|\\\\}}ld" {{.*}} "-m" "elf_i386"
|
||||
//
|
||||
// RUN: %clang -### -o %t %s 2>&1 -no-integrated-as \
|
||||
// RUN: --gcc-toolchain=%S/Inputs/basic_cross_linux_tree/usr \
|
||||
// RUN: --target=x86_64-unknown-linux-gnu \
|
||||
// RUN: | FileCheck --check-prefix=CHECK-X86-64 %s
|
||||
// CHECK-X86-64: "-cc1" "-triple" "x86_64-unknown-linux-gnu"
|
||||
// CHECK-X86-64: "{{.*}}/Inputs/basic_cross_linux_tree/usr/lib/gcc/x86_64-unknown-linux-gnu/4.6.0/../../../../x86_64-unknown-linux-gnu/bin{{/|\\}}as" "--64"
|
||||
// CHECK-X86-64: "{{.*}}/Inputs/basic_cross_linux_tree/usr/lib/gcc/x86_64-unknown-linux-gnu/4.6.0/../../../../x86_64-unknown-linux-gnu/bin{{/|\\}}ld" {{.*}} "-m" "elf_x86_64"
|
||||
// CHECK-X86-64: "{{.*}}/Inputs/basic_cross_linux_tree/usr/lib/gcc/x86_64-unknown-linux-gnu/4.6.0/../../../../x86_64-unknown-linux-gnu/bin{{/|\\\\}}as" "--64"
|
||||
// CHECK-X86-64: "{{.*}}/Inputs/basic_cross_linux_tree/usr/lib/gcc/x86_64-unknown-linux-gnu/4.6.0/../../../../x86_64-unknown-linux-gnu/bin{{/|\\\\}}ld" {{.*}} "-m" "elf_x86_64"
|
||||
//
|
||||
// RUN: %clang -### -o %t %s 2>&1 -no-integrated-as \
|
||||
// RUN: --gcc-toolchain=%S/Inputs/basic_cross_linux_tree/usr \
|
||||
// RUN: --target=x86_64-unknown-linux-gnux32 \
|
||||
// RUN: | FileCheck --check-prefix=CHECK-X32 %s
|
||||
// CHECK-X32: "-cc1" "-triple" "x86_64-unknown-linux-gnux32"
|
||||
// CHECK-X32: "{{.*}}/Inputs/basic_cross_linux_tree/usr/lib/gcc/x86_64-unknown-linux-gnu/4.6.0/../../../../x86_64-unknown-linux-gnu/bin{{/|\\}}as" "--x32"
|
||||
// CHECK-X32: "{{.*}}/Inputs/basic_cross_linux_tree/usr/lib/gcc/x86_64-unknown-linux-gnu/4.6.0/../../../../x86_64-unknown-linux-gnu/bin{{/|\\}}ld" {{.*}} "-m" "elf32_x86_64"
|
||||
// CHECK-X32: "{{.*}}/Inputs/basic_cross_linux_tree/usr/lib/gcc/x86_64-unknown-linux-gnu/4.6.0/../../../../x86_64-unknown-linux-gnu/bin{{/|\\\\}}as" "--x32"
|
||||
// CHECK-X32: "{{.*}}/Inputs/basic_cross_linux_tree/usr/lib/gcc/x86_64-unknown-linux-gnu/4.6.0/../../../../x86_64-unknown-linux-gnu/bin{{/|\\\\}}ld" {{.*}} "-m" "elf32_x86_64"
|
||||
//
|
||||
// RUN: %clang -### -o %t %s 2>&1 -no-integrated-as \
|
||||
// RUN: --gcc-toolchain=%S/Inputs/basic_cross_linux_tree/usr \
|
||||
|
@ -38,8 +38,8 @@
|
|||
// RUN: --sysroot=%S/Inputs/basic_linux_tree \
|
||||
// RUN: | FileCheck --check-prefix=CHECK-MULTI32-I386 %s
|
||||
// CHECK-MULTI32-I386: "-cc1" "-triple" "i386-unknown-linux"
|
||||
// CHECK-MULTI32-I386: "{{.*}}/Inputs/multilib_32bit_linux_tree/usr/lib/gcc/i386-unknown-linux/4.6.0/../../../../i386-unknown-linux/bin{{/|\\}}as" "--32"
|
||||
// CHECK-MULTI32-I386: "{{.*}}/Inputs/multilib_32bit_linux_tree/usr/lib/gcc/i386-unknown-linux/4.6.0/../../../../i386-unknown-linux/bin{{/|\\}}ld"
|
||||
// CHECK-MULTI32-I386: "{{.*}}/Inputs/multilib_32bit_linux_tree/usr/lib/gcc/i386-unknown-linux/4.6.0/../../../../i386-unknown-linux/bin{{/|\\\\}}as" "--32"
|
||||
// CHECK-MULTI32-I386: "{{.*}}/Inputs/multilib_32bit_linux_tree/usr/lib/gcc/i386-unknown-linux/4.6.0/../../../../i386-unknown-linux/bin{{/|\\\\}}ld"
|
||||
// CHECK-MULTI32-I386: "--sysroot=[[sysroot:.*/Inputs/basic_linux_tree]]"
|
||||
// CHECK-MULTI32-I386: "-m" "elf_i386"
|
||||
// CHECK-MULTI32-I386: "crti.o" "[[gcc_install:.*/Inputs/multilib_32bit_linux_tree/usr/lib/gcc/i386-unknown-linux/4.6.0]]{{/|\\\\}}crtbegin.o"
|
||||
|
@ -55,8 +55,8 @@
|
|||
// RUN: --sysroot=%S/Inputs/basic_linux_tree \
|
||||
// RUN: | FileCheck --check-prefix=CHECK-MULTI32-X86-64 %s
|
||||
// CHECK-MULTI32-X86-64: "-cc1" "-triple" "x86_64-unknown-linux"
|
||||
// CHECK-MULTI32-X86-64: "{{.*}}/Inputs/multilib_32bit_linux_tree/usr/lib/gcc/i386-unknown-linux/4.6.0/../../../../i386-unknown-linux/bin{{/|\\}}as" "--64"
|
||||
// CHECK-MULTI32-X86-64: "{{.*}}/Inputs/multilib_32bit_linux_tree/usr/lib/gcc/i386-unknown-linux/4.6.0/../../../../i386-unknown-linux/bin{{/|\\}}ld"
|
||||
// CHECK-MULTI32-X86-64: "{{.*}}/Inputs/multilib_32bit_linux_tree/usr/lib/gcc/i386-unknown-linux/4.6.0/../../../../i386-unknown-linux/bin{{/|\\\\}}as" "--64"
|
||||
// CHECK-MULTI32-X86-64: "{{.*}}/Inputs/multilib_32bit_linux_tree/usr/lib/gcc/i386-unknown-linux/4.6.0/../../../../i386-unknown-linux/bin{{/|\\\\}}ld"
|
||||
// CHECK-MULTI32-X86-64: "--sysroot=[[sysroot:.*/Inputs/basic_linux_tree]]"
|
||||
// CHECK-MULTI32-X86-64: "-m" "elf_x86_64"
|
||||
// CHECK-MULTI32-X86-64: "crti.o" "[[gcc_install:.*/Inputs/multilib_32bit_linux_tree/usr/lib/gcc/i386-unknown-linux/4.6.0]]/64{{/|\\\\}}crtbegin.o"
|
||||
|
@ -73,8 +73,8 @@
|
|||
// RUN: --sysroot=%S/Inputs/basic_linux_tree \
|
||||
// RUN: | FileCheck --check-prefix=CHECK-MULTI64-I386 %s
|
||||
// CHECK-MULTI64-I386: "-cc1" "-triple" "i386-unknown-linux"
|
||||
// CHECK-MULTI64-I386: "{{.*}}/Inputs/multilib_64bit_linux_tree/usr/lib/gcc/x86_64-unknown-linux/4.6.0/../../../../x86_64-unknown-linux/bin{{/|\\}}as" "--32"
|
||||
// CHECK-MULTI64-I386: "{{.*}}/Inputs/multilib_64bit_linux_tree/usr/lib/gcc/x86_64-unknown-linux/4.6.0/../../../../x86_64-unknown-linux/bin{{/|\\}}ld"
|
||||
// CHECK-MULTI64-I386: "{{.*}}/Inputs/multilib_64bit_linux_tree/usr/lib/gcc/x86_64-unknown-linux/4.6.0/../../../../x86_64-unknown-linux/bin{{/|\\\\}}as" "--32"
|
||||
// CHECK-MULTI64-I386: "{{.*}}/Inputs/multilib_64bit_linux_tree/usr/lib/gcc/x86_64-unknown-linux/4.6.0/../../../../x86_64-unknown-linux/bin{{/|\\\\}}ld"
|
||||
// CHECK-MULTI64-I386: "--sysroot=[[sysroot:.*/Inputs/basic_linux_tree]]"
|
||||
// CHECK-MULTI64-I386: "-m" "elf_i386"
|
||||
// CHECK-MULTI64-I386: "crti.o" "[[gcc_install:.*/Inputs/multilib_64bit_linux_tree/usr/lib/gcc/x86_64-unknown-linux/4.6.0]]/32{{/|\\\\}}crtbegin.o"
|
||||
|
@ -91,8 +91,8 @@
|
|||
// RUN: --sysroot=%S/Inputs/basic_linux_tree \
|
||||
// RUN: | FileCheck --check-prefix=CHECK-MULTI64-X86-64 %s
|
||||
// CHECK-MULTI64-X86-64: "-cc1" "-triple" "x86_64-unknown-linux"
|
||||
// CHECK-MULTI64-X86-64: "{{.*}}/Inputs/multilib_64bit_linux_tree/usr/lib/gcc/x86_64-unknown-linux/4.6.0/../../../../x86_64-unknown-linux/bin{{/|\\}}as" "--64"
|
||||
// CHECK-MULTI64-X86-64: "{{.*}}/Inputs/multilib_64bit_linux_tree/usr/lib/gcc/x86_64-unknown-linux/4.6.0/../../../../x86_64-unknown-linux/bin{{/|\\}}ld"
|
||||
// CHECK-MULTI64-X86-64: "{{.*}}/Inputs/multilib_64bit_linux_tree/usr/lib/gcc/x86_64-unknown-linux/4.6.0/../../../../x86_64-unknown-linux/bin{{/|\\\\}}as" "--64"
|
||||
// CHECK-MULTI64-X86-64: "{{.*}}/Inputs/multilib_64bit_linux_tree/usr/lib/gcc/x86_64-unknown-linux/4.6.0/../../../../x86_64-unknown-linux/bin{{/|\\\\}}ld"
|
||||
// CHECK-MULTI64-X86-64: "--sysroot=[[sysroot:.*/Inputs/basic_linux_tree]]"
|
||||
// CHECK-MULTI64-X86-64: "-m" "elf_x86_64"
|
||||
// CHECK-MULTI64-X86-64: "crti.o" "[[gcc_install:.*/Inputs/multilib_64bit_linux_tree/usr/lib/gcc/x86_64-unknown-linux/4.6.0]]{{/|\\\\}}crtbegin.o"
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
// CHECK001: "-cc1" {{.*}} "-internal-externc-isystem" "{{.*}}/Inputs/hexagon_tree/qc/bin/../../gnu/lib/gcc/hexagon/4.4.0/include"
|
||||
// CHECK001: "-internal-externc-isystem" "{{.*}}/Inputs/hexagon_tree/qc/bin/../../gnu/lib/gcc/hexagon/4.4.0/include-fixed"
|
||||
// CHECK001: "-internal-externc-isystem" "{{.*}}/Inputs/hexagon_tree/qc/bin/../../gnu/hexagon/include"
|
||||
// CHECK001-NEXT: "{{.*}}/Inputs/hexagon_tree/qc/bin/../../gnu/bin{{/|\\}}hexagon-as"
|
||||
// CHECK001-NEXT: "{{.*}}/Inputs/hexagon_tree/qc/bin/../../gnu/bin{{/|\\\\}}hexagon-as"
|
||||
|
||||
// RUN: %clangxx -### -target hexagon-unknown-elf \
|
||||
// RUN: -ccc-install-dir %S/Inputs/hexagon_tree/qc/bin \
|
||||
|
@ -19,7 +19,7 @@
|
|||
// CHECK002: "-internal-externc-isystem" "{{.*}}/Inputs/hexagon_tree/qc/bin/../../gnu/lib/gcc/hexagon/4.4.0/include"
|
||||
// CHECK002: "-internal-externc-isystem" "{{.*}}/Inputs/hexagon_tree/qc/bin/../../gnu/lib/gcc/hexagon/4.4.0/include-fixed"
|
||||
// CHECK002: "-internal-externc-isystem" "{{.*}}/Inputs/hexagon_tree/qc/bin/../../gnu/hexagon/include"
|
||||
// CHECK002-NEXT: "{{.*}}/Inputs/hexagon_tree/qc/bin/../../gnu/bin{{/|\\}}hexagon-as"
|
||||
// CHECK002-NEXT: "{{.*}}/Inputs/hexagon_tree/qc/bin/../../gnu/bin{{/|\\\\}}hexagon-as"
|
||||
|
||||
// -----------------------------------------------------------------------------
|
||||
// Test -nostdinc, -nostdlibinc, -nostdinc++
|
||||
|
@ -34,7 +34,7 @@
|
|||
// CHECK003-NOT: "-internal-externc-isystem" "{{.*}}/Inputs/hexagon_tree/qc/bin/../../gnu/lib/gcc/hexagon/4.4.0/include"
|
||||
// CHECK003-NOT: "-internal-externc-isystem" "{{.*}}/Inputs/hexagon_tree/qc/bin/../../gnu/lib/gcc/hexagon/4.4.0/include-fixed"
|
||||
// CHECK003-NOT: "-internal-externc-isystem" "{{.*}}/Inputs/hexagon_tree/qc/bin/../../gnu/hexagon/include"
|
||||
// CHECK003-NEXT: "{{.*}}/Inputs/hexagon_tree/qc/bin/../../gnu/bin{{/|\\}}hexagon-as"
|
||||
// CHECK003-NEXT: "{{.*}}/Inputs/hexagon_tree/qc/bin/../../gnu/bin{{/|\\\\}}hexagon-as"
|
||||
|
||||
// RUN: %clang -### -target hexagon-unknown-elf \
|
||||
// RUN: -ccc-install-dir %S/Inputs/hexagon_tree/qc/bin \
|
||||
|
@ -45,7 +45,7 @@
|
|||
// CHECK004-NOT: "-internal-externc-isystem" "{{.*}}/Inputs/hexagon_tree/qc/bin/../../gnu/lib/gcc/hexagon/4.4.0/include"
|
||||
// CHECK004-NOT: "-internal-externc-isystem" "{{.*}}/Inputs/hexagon_tree/qc/bin/../../gnu/lib/gcc/hexagon/4.4.0/include-fixed"
|
||||
// CHECK004-NOT: "-internal-externc-isystem" "{{.*}}/Inputs/hexagon_tree/qc/bin/../../gnu/hexagon/include"
|
||||
// CHECK004-NEXT: "{{.*}}/Inputs/hexagon_tree/qc/bin/../../gnu/bin{{/|\\}}hexagon-as"
|
||||
// CHECK004-NEXT: "{{.*}}/Inputs/hexagon_tree/qc/bin/../../gnu/bin{{/|\\\\}}hexagon-as"
|
||||
|
||||
// RUN: %clangxx -### -target hexagon-unknown-elf \
|
||||
// RUN: -ccc-install-dir %S/Inputs/hexagon_tree/qc/bin \
|
||||
|
@ -57,7 +57,7 @@
|
|||
// CHECK005-NOT: "-internal-externc-isystem" "{{.*}}/Inputs/hexagon_tree/qc/bin/../../gnu/lib/gcc/hexagon/4.4.0/include"
|
||||
// CHECK005-NOT: "-internal-externc-isystem" "{{.*}}/Inputs/hexagon_tree/qc/bin/../../gnu/lib/gcc/hexagon/4.4.0/include-fixed"
|
||||
// CHECK005-NOT: "-internal-externc-isystem" "{{.*}}/Inputs/hexagon_tree/qc/bin/../../gnu/hexagon/include"
|
||||
// CHECK005-NEXT: "{{.*}}/Inputs/hexagon_tree/qc/bin/../../gnu/bin{{/|\\}}hexagon-as"
|
||||
// CHECK005-NEXT: "{{.*}}/Inputs/hexagon_tree/qc/bin/../../gnu/bin{{/|\\\\}}hexagon-as"
|
||||
|
||||
// RUN: %clangxx -### -target hexagon-unknown-elf \
|
||||
// RUN: -ccc-install-dir %S/Inputs/hexagon_tree/qc/bin \
|
||||
|
@ -66,7 +66,7 @@
|
|||
// RUN: | FileCheck -check-prefix=CHECK006 %s
|
||||
// CHECK006: "-cc1"
|
||||
// CHECK006-NOT: "-internal-isystem" "{{.*}}/Inputs/hexagon_tree/qc/bin/../../gnu/hexagon/include/c++/4.4.0"
|
||||
// CHECK006-NEXT: "{{.*}}/Inputs/hexagon_tree/qc/bin/../../gnu/bin{{/|\\}}hexagon-as"
|
||||
// CHECK006-NEXT: "{{.*}}/Inputs/hexagon_tree/qc/bin/../../gnu/bin{{/|\\\\}}hexagon-as"
|
||||
|
||||
// -----------------------------------------------------------------------------
|
||||
// Test -march=<archname> -mcpu=<archname> -mv<number>
|
||||
|
@ -77,8 +77,8 @@
|
|||
// RUN: %s 2>&1 \
|
||||
// RUN: | FileCheck -check-prefix=CHECK007 %s
|
||||
// CHECK007: "-cc1" {{.*}} "-target-cpu" "hexagonv3"
|
||||
// CHECK007-NEXT: "{{.*}}/Inputs/hexagon_tree/qc/bin/../../gnu/bin{{/|\\}}hexagon-as"{{.*}} "-march=v3"
|
||||
// CHECK007-NEXT: "{{.*}}/Inputs/hexagon_tree/qc/bin/../../gnu/bin{{/|\\}}hexagon-ld"{{.*}} "-mv3"
|
||||
// CHECK007-NEXT: "{{.*}}/Inputs/hexagon_tree/qc/bin/../../gnu/bin{{/|\\\\}}hexagon-as"{{.*}} "-march=v3"
|
||||
// CHECK007-NEXT: "{{.*}}/Inputs/hexagon_tree/qc/bin/../../gnu/bin{{/|\\\\}}hexagon-ld"{{.*}} "-mv3"
|
||||
|
||||
// RUN: %clang -### -target hexagon-unknown-elf \
|
||||
// RUN: -ccc-install-dir %S/Inputs/hexagon_tree/qc/bin \
|
||||
|
@ -86,8 +86,8 @@
|
|||
// RUN: %s 2>&1 \
|
||||
// RUN: | FileCheck -check-prefix=CHECK008 %s
|
||||
// CHECK008: "-cc1" {{.*}} "-target-cpu" "hexagonv5"
|
||||
// CHECK008-NEXT: "{{.*}}/Inputs/hexagon_tree/qc/bin/../../gnu/bin{{/|\\}}hexagon-as"{{.*}} "-march=v5"
|
||||
// CHECK008-NEXT: "{{.*}}/Inputs/hexagon_tree/qc/bin/../../gnu/bin{{/|\\}}hexagon-ld"{{.*}} "-mv5"
|
||||
// CHECK008-NEXT: "{{.*}}/Inputs/hexagon_tree/qc/bin/../../gnu/bin{{/|\\\\}}hexagon-as"{{.*}} "-march=v5"
|
||||
// CHECK008-NEXT: "{{.*}}/Inputs/hexagon_tree/qc/bin/../../gnu/bin{{/|\\\\}}hexagon-ld"{{.*}} "-mv5"
|
||||
|
||||
// RUN: %clang -### -target hexagon-unknown-elf \
|
||||
// RUN: -ccc-install-dir %S/Inputs/hexagon_tree/qc/bin \
|
||||
|
@ -95,16 +95,16 @@
|
|||
// RUN: %s 2>&1 \
|
||||
// RUN: | FileCheck -check-prefix=CHECK009 %s
|
||||
// CHECK009: "-cc1" {{.*}} "-target-cpu" "hexagonv2"
|
||||
// CHECK009-NEXT: "{{.*}}/Inputs/hexagon_tree/qc/bin/../../gnu/bin{{/|\\}}hexagon-as"{{.*}} "-march=v2"
|
||||
// CHECK009-NEXT: "{{.*}}/Inputs/hexagon_tree/qc/bin/../../gnu/bin{{/|\\}}hexagon-ld"{{.*}} "-mv2"
|
||||
// CHECK009-NEXT: "{{.*}}/Inputs/hexagon_tree/qc/bin/../../gnu/bin{{/|\\\\}}hexagon-as"{{.*}} "-march=v2"
|
||||
// CHECK009-NEXT: "{{.*}}/Inputs/hexagon_tree/qc/bin/../../gnu/bin{{/|\\\\}}hexagon-ld"{{.*}} "-mv2"
|
||||
|
||||
// RUN: %clang -### -target hexagon-unknown-elf \
|
||||
// RUN: -ccc-install-dir %S/Inputs/hexagon_tree/qc/bin \
|
||||
// RUN: %s 2>&1 \
|
||||
// RUN: | FileCheck -check-prefix=CHECK010 %s
|
||||
// CHECK010: "-cc1" {{.*}} "-target-cpu" "hexagonv4"
|
||||
// CHECK010-NEXT: "{{.*}}/Inputs/hexagon_tree/qc/bin/../../gnu/bin{{/|\\}}hexagon-as"{{.*}} "-march=v4"
|
||||
// CHECK010-NEXT: "{{.*}}/Inputs/hexagon_tree/qc/bin/../../gnu/bin{{/|\\}}hexagon-ld"{{.*}} "-mv4"
|
||||
// CHECK010-NEXT: "{{.*}}/Inputs/hexagon_tree/qc/bin/../../gnu/bin{{/|\\\\}}hexagon-as"{{.*}} "-march=v4"
|
||||
// CHECK010-NEXT: "{{.*}}/Inputs/hexagon_tree/qc/bin/../../gnu/bin{{/|\\\\}}hexagon-ld"{{.*}} "-mv4"
|
||||
|
||||
// RUN: not %clang -march=hexagonv2 -target hexagon-unknown-elf \
|
||||
// RUN: %s 2>&1 | FileCheck -check-prefix=CHECK-UNKNOWN-V2 %s
|
||||
|
@ -134,8 +134,8 @@
|
|||
// RUN: %s 2>&1 \
|
||||
// RUN: | FileCheck -check-prefix=CHECK011 %s
|
||||
// CHECK011: "-cc1"
|
||||
// CHECK011-NEXT: "{{.*}}/bin{{/|\\}}hexagon-as"{{.*}}
|
||||
// CHECK011-NEXT: "{{.*}}/bin{{/|\\}}hexagon-ld"
|
||||
// CHECK011-NEXT: "{{.*}}/bin{{/|\\\\}}hexagon-as"{{.*}}
|
||||
// CHECK011-NEXT: "{{.*}}/bin{{/|\\\\}}hexagon-ld"
|
||||
// CHECK011-NOT: "-static"
|
||||
// CHECK011-NOT: "-shared"
|
||||
// CHECK011: "{{.*}}/hexagon/lib/v4/crt0_standalone.o"
|
||||
|
@ -158,8 +158,8 @@
|
|||
// RUN: %s 2>&1 \
|
||||
// RUN: | FileCheck -check-prefix=CHECK012 %s
|
||||
// CHECK012: "-cc1"
|
||||
// CHECK012-NEXT: "{{.*}}/bin{{/|\\}}hexagon-as"{{.*}}
|
||||
// CHECK012-NEXT: "{{.*}}/bin{{/|\\}}hexagon-ld"
|
||||
// CHECK012-NEXT: "{{.*}}/bin{{/|\\\\}}hexagon-as"{{.*}}
|
||||
// CHECK012-NEXT: "{{.*}}/bin{{/|\\\\}}hexagon-ld"
|
||||
// CHECK012-NOT: "-static"
|
||||
// CHECK012-NOT: "-shared"
|
||||
// CHECK012: "{{.*}}/hexagon/lib/v4/crt0_standalone.o"
|
||||
|
@ -184,8 +184,8 @@
|
|||
// RUN: %s 2>&1 \
|
||||
// RUN: | FileCheck -check-prefix=CHECK013 %s
|
||||
// CHECK013: "-cc1"
|
||||
// CHECK013-NEXT: "{{.*}}/bin{{/|\\}}hexagon-as"{{.*}}
|
||||
// CHECK013-NEXT: "{{.*}}/bin{{/|\\}}hexagon-ld"
|
||||
// CHECK013-NEXT: "{{.*}}/bin{{/|\\\\}}hexagon-as"{{.*}}
|
||||
// CHECK013-NEXT: "{{.*}}/bin{{/|\\\\}}hexagon-ld"
|
||||
// CHECK013: "{{.*}}/hexagon/lib/v4/crt0_standalone.o"
|
||||
// CHECK013: "{{.*}}/hexagon/lib/v4/crt0.o"
|
||||
// CHECK013: "{{.*}}/hexagon/lib/v4/init.o"
|
||||
|
@ -208,8 +208,8 @@
|
|||
// RUN: %s 2>&1 \
|
||||
// RUN: | FileCheck -check-prefix=CHECK014 %s
|
||||
// CHECK014: "-cc1"
|
||||
// CHECK014-NEXT: "{{.*}}/bin{{/|\\}}hexagon-as"{{.*}}
|
||||
// CHECK014-NEXT: "{{.*}}/bin{{/|\\}}hexagon-ld"
|
||||
// CHECK014-NEXT: "{{.*}}/bin{{/|\\\\}}hexagon-as"{{.*}}
|
||||
// CHECK014-NEXT: "{{.*}}/bin{{/|\\\\}}hexagon-ld"
|
||||
// CHECK014: "-static"
|
||||
// CHECK014: "{{.*}}/hexagon/lib/v4/crt0_standalone.o"
|
||||
// CHECK014: "{{.*}}/hexagon/lib/v4/crt0.o"
|
||||
|
@ -229,8 +229,8 @@
|
|||
// RUN: %s 2>&1 \
|
||||
// RUN: | FileCheck -check-prefix=CHECK015 %s
|
||||
// CHECK015: "-cc1"
|
||||
// CHECK015-NEXT: "{{.*}}/bin{{/|\\}}hexagon-as"{{.*}}
|
||||
// CHECK015-NEXT: "{{.*}}/bin{{/|\\}}hexagon-ld"
|
||||
// CHECK015-NEXT: "{{.*}}/bin{{/|\\\\}}hexagon-as"{{.*}}
|
||||
// CHECK015-NEXT: "{{.*}}/bin{{/|\\\\}}hexagon-ld"
|
||||
// CHECK015: "-shared" "-call_shared"
|
||||
// CHECK015-NOT: crt0_standalone.o
|
||||
// CHECK015-NOT: crt0.o
|
||||
|
@ -259,8 +259,8 @@
|
|||
// RUN: %s 2>&1 \
|
||||
// RUN: | FileCheck -check-prefix=CHECK016 %s
|
||||
// CHECK016: "-cc1"
|
||||
// CHECK016-NEXT: "{{.*}}/bin{{/|\\}}hexagon-as"{{.*}}
|
||||
// CHECK016-NEXT: "{{.*}}/bin{{/|\\}}hexagon-ld"
|
||||
// CHECK016-NEXT: "{{.*}}/bin{{/|\\\\}}hexagon-as"{{.*}}
|
||||
// CHECK016-NEXT: "{{.*}}/bin{{/|\\\\}}hexagon-ld"
|
||||
// CHECK016: "-shared" "-call_shared" "-static"
|
||||
// CHECK016-NOT: crt0_standalone.o
|
||||
// CHECK016-NOT: crt0.o
|
||||
|
@ -291,8 +291,8 @@
|
|||
// RUN: %s 2>&1 \
|
||||
// RUN: | FileCheck -check-prefix=CHECK017 %s
|
||||
// CHECK017: "-cc1"
|
||||
// CHECK017-NEXT: "{{.*}}/bin{{/|\\}}hexagon-as"{{.*}}
|
||||
// CHECK017-NEXT: "{{.*}}/bin{{/|\\}}hexagon-ld"
|
||||
// CHECK017-NEXT: "{{.*}}/bin{{/|\\\\}}hexagon-as"{{.*}}
|
||||
// CHECK017-NEXT: "{{.*}}/bin{{/|\\\\}}hexagon-ld"
|
||||
// CHECK017-NOT: crt0_standalone.o
|
||||
// CHECK017-NOT: crt0.o
|
||||
// CHECK017-NOT: init.o
|
||||
|
@ -317,8 +317,8 @@
|
|||
// RUN: %s 2>&1 \
|
||||
// RUN: | FileCheck -check-prefix=CHECK018 %s
|
||||
// CHECK018: "-cc1"
|
||||
// CHECK018-NEXT: "{{.*}}/bin{{/|\\}}hexagon-as"{{.*}}
|
||||
// CHECK018-NEXT: "{{.*}}/bin{{/|\\}}hexagon-ld"
|
||||
// CHECK018-NEXT: "{{.*}}/bin{{/|\\\\}}hexagon-as"{{.*}}
|
||||
// CHECK018-NEXT: "{{.*}}/bin{{/|\\\\}}hexagon-ld"
|
||||
// CHECK018-NOT: crt0_standalone.o
|
||||
// CHECK018-NOT: crt0.o
|
||||
// CHECK018-NOT: init.o
|
||||
|
@ -343,8 +343,8 @@
|
|||
// RUN: %s 2>&1 \
|
||||
// RUN: | FileCheck -check-prefix=CHECK019 %s
|
||||
// CHECK019: "-cc1"
|
||||
// CHECK019-NEXT: "{{.*}}/bin{{/|\\}}hexagon-as"{{.*}}
|
||||
// CHECK019-NEXT: "{{.*}}/bin{{/|\\}}hexagon-ld"
|
||||
// CHECK019-NEXT: "{{.*}}/bin{{/|\\\\}}hexagon-as"{{.*}}
|
||||
// CHECK019-NEXT: "{{.*}}/bin{{/|\\\\}}hexagon-ld"
|
||||
// CHECK019: "{{.*}}/hexagon/lib/v4/crt0_standalone.o"
|
||||
// CHECK019: "{{.*}}/hexagon/lib/v4/crt0.o"
|
||||
// CHECK019: "{{.*}}/hexagon/lib/v4/init.o"
|
||||
|
@ -372,8 +372,8 @@
|
|||
// RUN: %s 2>&1 \
|
||||
// RUN: | FileCheck -check-prefix=CHECK020 %s
|
||||
// CHECK020: "-cc1"
|
||||
// CHECK020-NEXT: "{{.*}}/bin{{/|\\}}hexagon-as"{{.*}}
|
||||
// CHECK020-NEXT: "{{.*}}/bin{{/|\\}}hexagon-ld"
|
||||
// CHECK020-NEXT: "{{.*}}/bin{{/|\\\\}}hexagon-as"{{.*}}
|
||||
// CHECK020-NEXT: "{{.*}}/bin{{/|\\\\}}hexagon-ld"
|
||||
// CHECK020-NOT: "-static"
|
||||
// CHECK020-NOT: "-shared"
|
||||
// CHECK020-NOT: crt0_standalone.o
|
||||
|
@ -397,8 +397,8 @@
|
|||
// RUN: %s 2>&1 \
|
||||
// RUN: | FileCheck -check-prefix=CHECK021 %s
|
||||
// CHECK021: "-cc1"
|
||||
// CHECK021-NEXT: "{{.*}}/bin{{/|\\}}hexagon-as"{{.*}}
|
||||
// CHECK021-NEXT: "{{.*}}/bin{{/|\\}}hexagon-ld"
|
||||
// CHECK021-NEXT: "{{.*}}/bin{{/|\\\\}}hexagon-as"{{.*}}
|
||||
// CHECK021-NEXT: "{{.*}}/bin{{/|\\\\}}hexagon-ld"
|
||||
// CHECK021-NOT: "-static"
|
||||
// CHECK021-NOT: "-shared"
|
||||
// CHECK021: "{{.*}}/hexagon/lib/v4/crt0_standalone.o"
|
||||
|
@ -429,8 +429,8 @@
|
|||
// RUN: %s 2>&1 \
|
||||
// RUN: | FileCheck -check-prefix=CHECK022 %s
|
||||
// CHECK022: "-cc1"
|
||||
// CHECK022-NEXT: "{{.*}}/bin{{/|\\}}hexagon-as"{{.*}}
|
||||
// CHECK022-NEXT: "{{.*}}/bin{{/|\\}}hexagon-ld"
|
||||
// CHECK022-NEXT: "{{.*}}/bin{{/|\\\\}}hexagon-as"{{.*}}
|
||||
// CHECK022-NEXT: "{{.*}}/bin{{/|\\\\}}hexagon-ld"
|
||||
// CHECK022: "{{.*}}/hexagon/lib/v4/crt0_standalone.o"
|
||||
// CHECK022: "{{.*}}/hexagon/lib/v4/crt0.o"
|
||||
// CHECK022: "{{.*}}/hexagon/lib/v4/init.o"
|
||||
|
@ -457,9 +457,9 @@
|
|||
// RUN: | FileCheck -check-prefix=CHECK023 %s
|
||||
// CHECK023: "-cc1"
|
||||
// CHECK023: "-mrelocation-model" "static"
|
||||
// CHECK023-NEXT: "{{.*}}/bin{{/|\\}}hexagon-as"
|
||||
// CHECK023-NEXT: "{{.*}}/bin{{/|\\\\}}hexagon-as"
|
||||
// CHECK023-NOT: "-G{{[0-9]+}}"
|
||||
// CHECK023-NEXT: "{{.*}}/bin{{/|\\}}hexagon-ld"
|
||||
// CHECK023-NEXT: "{{.*}}/bin{{/|\\\\}}hexagon-ld"
|
||||
// CHECK023-NOT: "-G{{[0-9]+}}"
|
||||
|
||||
// RUN: %clang -### -target hexagon-unknown-elf \
|
||||
|
@ -482,9 +482,9 @@
|
|||
// CHECK024-NOT: "-mrelocation-model" "static"
|
||||
// CHECK024: "-pic-level" "{{[12]}}"
|
||||
// CHECK024: "-mllvm" "-hexagon-small-data-threshold=0"
|
||||
// CHECK024-NEXT: "{{.*}}/bin{{/|\\}}hexagon-as"
|
||||
// CHECK024-NEXT: "{{.*}}/bin{{/|\\\\}}hexagon-as"
|
||||
// CHECK024: "-G0"
|
||||
// CHECK024-NEXT: "{{.*}}/bin{{/|\\}}hexagon-ld"
|
||||
// CHECK024-NEXT: "{{.*}}/bin{{/|\\\\}}hexagon-ld"
|
||||
// CHECK024: "-G0"
|
||||
|
||||
// RUN: %clang -### -target hexagon-unknown-elf \
|
||||
|
@ -505,9 +505,9 @@
|
|||
// CHECK025: "-cc1"
|
||||
// CHECK025: "-mrelocation-model" "static"
|
||||
// CHECK025: "-mllvm" "-hexagon-small-data-threshold=8"
|
||||
// CHECK025-NEXT: "{{.*}}/bin{{/|\\}}hexagon-as"
|
||||
// CHECK025-NEXT: "{{.*}}/bin{{/|\\\\}}hexagon-as"
|
||||
// CHECK025: "-G8"
|
||||
// CHECK025-NEXT: "{{.*}}/bin{{/|\\}}hexagon-ld"
|
||||
// CHECK025-NEXT: "{{.*}}/bin{{/|\\\\}}hexagon-ld"
|
||||
// CHECK025: "-G8"
|
||||
|
||||
// -----------------------------------------------------------------------------
|
||||
|
@ -519,8 +519,8 @@
|
|||
// RUN: %s 2>&1 \
|
||||
// RUN: | FileCheck -check-prefix=CHECK026 %s
|
||||
// CHECK026: "-cc1"
|
||||
// CHECK026-NEXT: "{{.*}}/bin{{/|\\}}hexagon-as"
|
||||
// CHECK026-NEXT: "{{.*}}/bin{{/|\\}}hexagon-ld"
|
||||
// CHECK026-NEXT: "{{.*}}/bin{{/|\\\\}}hexagon-as"
|
||||
// CHECK026-NEXT: "{{.*}}/bin{{/|\\\\}}hexagon-ld"
|
||||
// CHECK026: "-pie"
|
||||
|
||||
// RUN: %clang -### -target hexagon-unknown-elf \
|
||||
|
@ -529,8 +529,8 @@
|
|||
// RUN: %s 2>&1 \
|
||||
// RUN: | FileCheck -check-prefix=CHECK027 %s
|
||||
// CHECK027: "-cc1"
|
||||
// CHECK027-NEXT: "{{.*}}/bin{{/|\\}}hexagon-as"
|
||||
// CHECK027-NEXT: "{{.*}}/bin{{/|\\}}hexagon-ld"
|
||||
// CHECK027-NEXT: "{{.*}}/bin{{/|\\\\}}hexagon-as"
|
||||
// CHECK027-NEXT: "{{.*}}/bin{{/|\\\\}}hexagon-ld"
|
||||
// CHECK027-NOT: "-pie"
|
||||
|
||||
// -----------------------------------------------------------------------------
|
||||
|
@ -543,8 +543,8 @@
|
|||
// CHECK028: "-cc1"
|
||||
// CHECK028: "-mqdsp6-compat"
|
||||
// CHECK028: "-Wreturn-type"
|
||||
// CHECK028-NEXT: "{{.*}}/bin{{/|\\}}hexagon-as"
|
||||
// CHECK028-NEXT: "{{.*}}/bin{{/|\\}}hexagon-ld"
|
||||
// CHECK028-NEXT: "{{.*}}/bin{{/|\\\\}}hexagon-as"
|
||||
// CHECK028-NEXT: "{{.*}}/bin{{/|\\\\}}hexagon-ld"
|
||||
|
||||
// -----------------------------------------------------------------------------
|
||||
// Test Assembler related args
|
||||
|
@ -557,6 +557,6 @@
|
|||
// RUN: %s 2>&1 \
|
||||
// RUN: | FileCheck -check-prefix=CHECK029 %s
|
||||
// CHECK029: "-cc1"
|
||||
// CHECK029-NEXT: "{{.*}}/bin{{/|\\}}hexagon-as"
|
||||
// CHECK029-NEXT: "{{.*}}/bin{{/|\\\\}}hexagon-as"
|
||||
// CHECK029: "--noexecstack" "--trap" "--keep-locals"
|
||||
// CHECK029-NEXT: "{{.*}}/bin{{/|\\}}hexagon-ld"
|
||||
// CHECK029-NEXT: "{{.*}}/bin{{/|\\\\}}hexagon-ld"
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
// CHECK001: "-cc1" {{.*}} "-internal-externc-isystem" "{{.*}}/Inputs/hexagon_tree/qc/bin/../../gnu/lib/gcc/hexagon/4.4.0/include"
|
||||
// CHECK001: "-internal-externc-isystem" "{{.*}}/Inputs/hexagon_tree/qc/bin/../../gnu/lib/gcc/hexagon/4.4.0/include-fixed"
|
||||
// CHECK001: "-internal-externc-isystem" "{{.*}}/Inputs/hexagon_tree/qc/bin/../../gnu/hexagon/include"
|
||||
// CHECK001-NEXT: "{{.*}}/Inputs/hexagon_tree/qc/bin/../../gnu/bin{{/|\\}}hexagon-as"
|
||||
// CHECK001-NEXT: "{{.*}}/Inputs/hexagon_tree/qc/bin/../../gnu/bin{{/|\\\\}}hexagon-as"
|
||||
|
||||
// RUN: %clangxx -### -target hexagon-unknown-linux \
|
||||
// RUN: -ccc-install-dir %S/Inputs/hexagon_tree/qc/bin \
|
||||
|
@ -19,7 +19,7 @@
|
|||
// CHECK002: "-internal-externc-isystem" "{{.*}}/Inputs/hexagon_tree/qc/bin/../../gnu/lib/gcc/hexagon/4.4.0/include"
|
||||
// CHECK002: "-internal-externc-isystem" "{{.*}}/Inputs/hexagon_tree/qc/bin/../../gnu/lib/gcc/hexagon/4.4.0/include-fixed"
|
||||
// CHECK002: "-internal-externc-isystem" "{{.*}}/Inputs/hexagon_tree/qc/bin/../../gnu/hexagon/include"
|
||||
// CHECK002-NEXT: "{{.*}}/Inputs/hexagon_tree/qc/bin/../../gnu/bin{{/|\\}}hexagon-as"
|
||||
// CHECK002-NEXT: "{{.*}}/Inputs/hexagon_tree/qc/bin/../../gnu/bin{{/|\\\\}}hexagon-as"
|
||||
|
||||
// -----------------------------------------------------------------------------
|
||||
// Test -nostdinc, -nostdlibinc, -nostdinc++
|
||||
|
@ -34,7 +34,7 @@
|
|||
// CHECK003-NOT: "-internal-externc-isystem" "{{.*}}/Inputs/hexagon_tree/qc/bin/../../gnu/lib/gcc/hexagon/4.4.0/include"
|
||||
// CHECK003-NOT: "-internal-externc-isystem" "{{.*}}/Inputs/hexagon_tree/qc/bin/../../gnu/lib/gcc/hexagon/4.4.0/include-fixed"
|
||||
// CHECK003-NOT: "-internal-externc-isystem" "{{.*}}/Inputs/hexagon_tree/qc/bin/../../gnu/hexagon/include"
|
||||
// CHECK003-NEXT: "{{.*}}/Inputs/hexagon_tree/qc/bin/../../gnu/bin{{/|\\}}hexagon-as"
|
||||
// CHECK003-NEXT: "{{.*}}/Inputs/hexagon_tree/qc/bin/../../gnu/bin{{/|\\\\}}hexagon-as"
|
||||
|
||||
// RUN: %clang -### -target hexagon-unknown-linux \
|
||||
// RUN: -ccc-install-dir %S/Inputs/hexagon_tree/qc/bin \
|
||||
|
@ -45,7 +45,7 @@
|
|||
// CHECK004-NOT: "-internal-externc-isystem" "{{.*}}/Inputs/hexagon_tree/qc/bin/../../gnu/lib/gcc/hexagon/4.4.0/include"
|
||||
// CHECK004-NOT: "-internal-externc-isystem" "{{.*}}/Inputs/hexagon_tree/qc/bin/../../gnu/lib/gcc/hexagon/4.4.0/include-fixed"
|
||||
// CHECK004-NOT: "-internal-externc-isystem" "{{.*}}/Inputs/hexagon_tree/qc/bin/../../gnu/hexagon/include"
|
||||
// CHECK004-NEXT: "{{.*}}/Inputs/hexagon_tree/qc/bin/../../gnu/bin{{/|\\}}hexagon-as"
|
||||
// CHECK004-NEXT: "{{.*}}/Inputs/hexagon_tree/qc/bin/../../gnu/bin{{/|\\\\}}hexagon-as"
|
||||
|
||||
// RUN: %clangxx -### -target hexagon-unknown-linux \
|
||||
// RUN: -ccc-install-dir %S/Inputs/hexagon_tree/qc/bin \
|
||||
|
@ -57,7 +57,7 @@
|
|||
// CHECK005-NOT: "-internal-externc-isystem" "{{.*}}/Inputs/hexagon_tree/qc/bin/../../gnu/lib/gcc/hexagon/4.4.0/include"
|
||||
// CHECK005-NOT: "-internal-externc-isystem" "{{.*}}/Inputs/hexagon_tree/qc/bin/../../gnu/lib/gcc/hexagon/4.4.0/include-fixed"
|
||||
// CHECK005-NOT: "-internal-externc-isystem" "{{.*}}/Inputs/hexagon_tree/qc/bin/../../gnu/hexagon/include"
|
||||
// CHECK005-NEXT: "{{.*}}/Inputs/hexagon_tree/qc/bin/../../gnu/bin{{/|\\}}hexagon-as"
|
||||
// CHECK005-NEXT: "{{.*}}/Inputs/hexagon_tree/qc/bin/../../gnu/bin{{/|\\\\}}hexagon-as"
|
||||
|
||||
// RUN: %clangxx -### -target hexagon-unknown-linux \
|
||||
// RUN: -ccc-install-dir %S/Inputs/hexagon_tree/qc/bin \
|
||||
|
@ -66,7 +66,7 @@
|
|||
// RUN: | FileCheck -check-prefix=CHECK006 %s
|
||||
// CHECK006: "-cc1"
|
||||
// CHECK006-NOT: "-internal-isystem" "{{.*}}/Inputs/hexagon_tree/qc/bin/../../gnu/hexagon/include/c++/4.4.0"
|
||||
// CHECK006-NEXT: "{{.*}}/Inputs/hexagon_tree/qc/bin/../../gnu/bin{{/|\\}}hexagon-as"
|
||||
// CHECK006-NEXT: "{{.*}}/Inputs/hexagon_tree/qc/bin/../../gnu/bin{{/|\\\\}}hexagon-as"
|
||||
|
||||
// -----------------------------------------------------------------------------
|
||||
// Test -march=<archname> -mcpu=<archname> -mv<number>
|
||||
|
@ -77,8 +77,8 @@
|
|||
// RUN: %s 2>&1 \
|
||||
// RUN: | FileCheck -check-prefix=CHECK007 %s
|
||||
// CHECK007: "-cc1" {{.*}} "-target-cpu" "hexagonv3"
|
||||
// CHECK007-NEXT: "{{.*}}/Inputs/hexagon_tree/qc/bin/../../gnu/bin{{/|\\}}hexagon-as"{{.*}} "-march=v3"
|
||||
// CHECK007-NEXT: "{{.*}}/Inputs/hexagon_tree/qc/bin/../../gnu/bin{{/|\\}}hexagon-ld"{{.*}} "-mv3"
|
||||
// CHECK007-NEXT: "{{.*}}/Inputs/hexagon_tree/qc/bin/../../gnu/bin{{/|\\\\}}hexagon-as"{{.*}} "-march=v3"
|
||||
// CHECK007-NEXT: "{{.*}}/Inputs/hexagon_tree/qc/bin/../../gnu/bin{{/|\\\\}}hexagon-ld"{{.*}} "-mv3"
|
||||
|
||||
// RUN: %clang -### -target hexagon-unknown-linux \
|
||||
// RUN: -ccc-install-dir %S/Inputs/hexagon_tree/qc/bin \
|
||||
|
@ -86,8 +86,8 @@
|
|||
// RUN: %s 2>&1 \
|
||||
// RUN: | FileCheck -check-prefix=CHECK008 %s
|
||||
// CHECK008: "-cc1" {{.*}} "-target-cpu" "hexagonv5"
|
||||
// CHECK008-NEXT: "{{.*}}/Inputs/hexagon_tree/qc/bin/../../gnu/bin{{/|\\}}hexagon-as"{{.*}} "-march=v5"
|
||||
// CHECK008-NEXT: "{{.*}}/Inputs/hexagon_tree/qc/bin/../../gnu/bin{{/|\\}}hexagon-ld"{{.*}} "-mv5"
|
||||
// CHECK008-NEXT: "{{.*}}/Inputs/hexagon_tree/qc/bin/../../gnu/bin{{/|\\\\}}hexagon-as"{{.*}} "-march=v5"
|
||||
// CHECK008-NEXT: "{{.*}}/Inputs/hexagon_tree/qc/bin/../../gnu/bin{{/|\\\\}}hexagon-ld"{{.*}} "-mv5"
|
||||
|
||||
// RUN: %clang -### -target hexagon-unknown-linux \
|
||||
// RUN: -ccc-install-dir %S/Inputs/hexagon_tree/qc/bin \
|
||||
|
@ -95,16 +95,16 @@
|
|||
// RUN: %s 2>&1 \
|
||||
// RUN: | FileCheck -check-prefix=CHECK009 %s
|
||||
// CHECK009: "-cc1" {{.*}} "-target-cpu" "hexagonv2"
|
||||
// CHECK009-NEXT: "{{.*}}/Inputs/hexagon_tree/qc/bin/../../gnu/bin{{/|\\}}hexagon-as"{{.*}} "-march=v2"
|
||||
// CHECK009-NEXT: "{{.*}}/Inputs/hexagon_tree/qc/bin/../../gnu/bin{{/|\\}}hexagon-ld"{{.*}} "-mv2"
|
||||
// CHECK009-NEXT: "{{.*}}/Inputs/hexagon_tree/qc/bin/../../gnu/bin{{/|\\\\}}hexagon-as"{{.*}} "-march=v2"
|
||||
// CHECK009-NEXT: "{{.*}}/Inputs/hexagon_tree/qc/bin/../../gnu/bin{{/|\\\\}}hexagon-ld"{{.*}} "-mv2"
|
||||
|
||||
// RUN: %clang -### -target hexagon-unknown-linux \
|
||||
// RUN: -ccc-install-dir %S/Inputs/hexagon_tree/qc/bin \
|
||||
// RUN: %s 2>&1 \
|
||||
// RUN: | FileCheck -check-prefix=CHECK010 %s
|
||||
// CHECK010: "-cc1" {{.*}} "-target-cpu" "hexagonv4"
|
||||
// CHECK010-NEXT: "{{.*}}/Inputs/hexagon_tree/qc/bin/../../gnu/bin{{/|\\}}hexagon-as"{{.*}} "-march=v4"
|
||||
// CHECK010-NEXT: "{{.*}}/Inputs/hexagon_tree/qc/bin/../../gnu/bin{{/|\\}}hexagon-ld"{{.*}} "-mv4"
|
||||
// CHECK010-NEXT: "{{.*}}/Inputs/hexagon_tree/qc/bin/../../gnu/bin{{/|\\\\}}hexagon-as"{{.*}} "-march=v4"
|
||||
// CHECK010-NEXT: "{{.*}}/Inputs/hexagon_tree/qc/bin/../../gnu/bin{{/|\\\\}}hexagon-ld"{{.*}} "-mv4"
|
||||
|
||||
// RUN: not %clang -march=hexagonv2 -target hexagon-unknown-linux \
|
||||
// RUN: %s 2>&1 | FileCheck -check-prefix=CHECK-UNKNOWN-V2 %s
|
||||
|
@ -134,8 +134,8 @@
|
|||
// RUN: %s 2>&1 \
|
||||
// RUN: | FileCheck -check-prefix=CHECK011 %s
|
||||
// CHECK011: "-cc1"
|
||||
// CHECK011-NEXT: "{{.*}}/bin{{/|\\}}hexagon-as"{{.*}}
|
||||
// CHECK011-NEXT: "{{.*}}/bin{{/|\\}}hexagon-ld"
|
||||
// CHECK011-NEXT: "{{.*}}/bin{{/|\\\\}}hexagon-as"{{.*}}
|
||||
// CHECK011-NEXT: "{{.*}}/bin{{/|\\\\}}hexagon-ld"
|
||||
// CHECK011-NOT: "-static"
|
||||
// CHECK011-NOT: "-shared"
|
||||
// CHECK011: "{{.*}}/hexagon/lib/v4/crt0_standalone.o"
|
||||
|
@ -158,8 +158,8 @@
|
|||
// RUN: %s 2>&1 \
|
||||
// RUN: | FileCheck -check-prefix=CHECK012 %s
|
||||
// CHECK012: "-cc1"
|
||||
// CHECK012-NEXT: "{{.*}}/bin{{/|\\}}hexagon-as"{{.*}}
|
||||
// CHECK012-NEXT: "{{.*}}/bin{{/|\\}}hexagon-ld"
|
||||
// CHECK012-NEXT: "{{.*}}/bin{{/|\\\\}}hexagon-as"{{.*}}
|
||||
// CHECK012-NEXT: "{{.*}}/bin{{/|\\\\}}hexagon-ld"
|
||||
// CHECK012-NOT: "-static"
|
||||
// CHECK012-NOT: "-shared"
|
||||
// CHECK012: "{{.*}}/hexagon/lib/v4/crt0_standalone.o"
|
||||
|
@ -184,8 +184,8 @@
|
|||
// RUN: %s 2>&1 \
|
||||
// RUN: | FileCheck -check-prefix=CHECK013 %s
|
||||
// CHECK013: "-cc1"
|
||||
// CHECK013-NEXT: "{{.*}}/bin{{/|\\}}hexagon-as"{{.*}}
|
||||
// CHECK013-NEXT: "{{.*}}/bin{{/|\\}}hexagon-ld"
|
||||
// CHECK013-NEXT: "{{.*}}/bin{{/|\\\\}}hexagon-as"{{.*}}
|
||||
// CHECK013-NEXT: "{{.*}}/bin{{/|\\\\}}hexagon-ld"
|
||||
// CHECK013: "{{.*}}/hexagon/lib/v4/crt0_standalone.o"
|
||||
// CHECK013: "{{.*}}/hexagon/lib/v4/crt0.o"
|
||||
// CHECK013: "{{.*}}/hexagon/lib/v4/init.o"
|
||||
|
@ -208,8 +208,8 @@
|
|||
// RUN: %s 2>&1 \
|
||||
// RUN: | FileCheck -check-prefix=CHECK014 %s
|
||||
// CHECK014: "-cc1"
|
||||
// CHECK014-NEXT: "{{.*}}/bin{{/|\\}}hexagon-as"{{.*}}
|
||||
// CHECK014-NEXT: "{{.*}}/bin{{/|\\}}hexagon-ld"
|
||||
// CHECK014-NEXT: "{{.*}}/bin{{/|\\\\}}hexagon-as"{{.*}}
|
||||
// CHECK014-NEXT: "{{.*}}/bin{{/|\\\\}}hexagon-ld"
|
||||
// CHECK014: "-static"
|
||||
// CHECK014: "{{.*}}/hexagon/lib/v4/crt0_standalone.o"
|
||||
// CHECK014: "{{.*}}/hexagon/lib/v4/crt0.o"
|
||||
|
@ -229,8 +229,8 @@
|
|||
// RUN: %s 2>&1 \
|
||||
// RUN: | FileCheck -check-prefix=CHECK015 %s
|
||||
// CHECK015: "-cc1"
|
||||
// CHECK015-NEXT: "{{.*}}/bin{{/|\\}}hexagon-as"{{.*}}
|
||||
// CHECK015-NEXT: "{{.*}}/bin{{/|\\}}hexagon-ld"
|
||||
// CHECK015-NEXT: "{{.*}}/bin{{/|\\\\}}hexagon-as"{{.*}}
|
||||
// CHECK015-NEXT: "{{.*}}/bin{{/|\\\\}}hexagon-ld"
|
||||
// CHECK015: "-shared" "-call_shared"
|
||||
// CHECK015-NOT: crt0_standalone.o
|
||||
// CHECK015-NOT: crt0.o
|
||||
|
@ -259,8 +259,8 @@
|
|||
// RUN: %s 2>&1 \
|
||||
// RUN: | FileCheck -check-prefix=CHECK016 %s
|
||||
// CHECK016: "-cc1"
|
||||
// CHECK016-NEXT: "{{.*}}/bin{{/|\\}}hexagon-as"{{.*}}
|
||||
// CHECK016-NEXT: "{{.*}}/bin{{/|\\}}hexagon-ld"
|
||||
// CHECK016-NEXT: "{{.*}}/bin{{/|\\\\}}hexagon-as"{{.*}}
|
||||
// CHECK016-NEXT: "{{.*}}/bin{{/|\\\\}}hexagon-ld"
|
||||
// CHECK016: "-shared" "-call_shared" "-static"
|
||||
// CHECK016-NOT: crt0_standalone.o
|
||||
// CHECK016-NOT: crt0.o
|
||||
|
@ -291,8 +291,8 @@
|
|||
// RUN: %s 2>&1 \
|
||||
// RUN: | FileCheck -check-prefix=CHECK017 %s
|
||||
// CHECK017: "-cc1"
|
||||
// CHECK017-NEXT: "{{.*}}/bin{{/|\\}}hexagon-as"{{.*}}
|
||||
// CHECK017-NEXT: "{{.*}}/bin{{/|\\}}hexagon-ld"
|
||||
// CHECK017-NEXT: "{{.*}}/bin{{/|\\\\}}hexagon-as"{{.*}}
|
||||
// CHECK017-NEXT: "{{.*}}/bin{{/|\\\\}}hexagon-ld"
|
||||
// CHECK017-NOT: crt0_standalone.o
|
||||
// CHECK017-NOT: crt0.o
|
||||
// CHECK017-NOT: init.o
|
||||
|
@ -317,8 +317,8 @@
|
|||
// RUN: %s 2>&1 \
|
||||
// RUN: | FileCheck -check-prefix=CHECK018 %s
|
||||
// CHECK018: "-cc1"
|
||||
// CHECK018-NEXT: "{{.*}}/bin{{/|\\}}hexagon-as"{{.*}}
|
||||
// CHECK018-NEXT: "{{.*}}/bin{{/|\\}}hexagon-ld"
|
||||
// CHECK018-NEXT: "{{.*}}/bin{{/|\\\\}}hexagon-as"{{.*}}
|
||||
// CHECK018-NEXT: "{{.*}}/bin{{/|\\\\}}hexagon-ld"
|
||||
// CHECK018-NOT: crt0_standalone.o
|
||||
// CHECK018-NOT: crt0.o
|
||||
// CHECK018-NOT: init.o
|
||||
|
@ -343,8 +343,8 @@
|
|||
// RUN: %s 2>&1 \
|
||||
// RUN: | FileCheck -check-prefix=CHECK019 %s
|
||||
// CHECK019: "-cc1"
|
||||
// CHECK019-NEXT: "{{.*}}/bin{{/|\\}}hexagon-as"{{.*}}
|
||||
// CHECK019-NEXT: "{{.*}}/bin{{/|\\}}hexagon-ld"
|
||||
// CHECK019-NEXT: "{{.*}}/bin{{/|\\\\}}hexagon-as"{{.*}}
|
||||
// CHECK019-NEXT: "{{.*}}/bin{{/|\\\\}}hexagon-ld"
|
||||
// CHECK019: "{{.*}}/hexagon/lib/v4/crt0_standalone.o"
|
||||
// CHECK019: "{{.*}}/hexagon/lib/v4/crt0.o"
|
||||
// CHECK019: "{{.*}}/hexagon/lib/v4/init.o"
|
||||
|
@ -372,8 +372,8 @@
|
|||
// RUN: %s 2>&1 \
|
||||
// RUN: | FileCheck -check-prefix=CHECK020 %s
|
||||
// CHECK020: "-cc1"
|
||||
// CHECK020-NEXT: "{{.*}}/bin{{/|\\}}hexagon-as"{{.*}}
|
||||
// CHECK020-NEXT: "{{.*}}/bin{{/|\\}}hexagon-ld"
|
||||
// CHECK020-NEXT: "{{.*}}/bin{{/|\\\\}}hexagon-as"{{.*}}
|
||||
// CHECK020-NEXT: "{{.*}}/bin{{/|\\\\}}hexagon-ld"
|
||||
// CHECK020-NOT: "-static"
|
||||
// CHECK020-NOT: "-shared"
|
||||
// CHECK020-NOT: crt0_standalone.o
|
||||
|
@ -397,8 +397,8 @@
|
|||
// RUN: %s 2>&1 \
|
||||
// RUN: | FileCheck -check-prefix=CHECK021 %s
|
||||
// CHECK021: "-cc1"
|
||||
// CHECK021-NEXT: "{{.*}}/bin{{/|\\}}hexagon-as"{{.*}}
|
||||
// CHECK021-NEXT: "{{.*}}/bin{{/|\\}}hexagon-ld"
|
||||
// CHECK021-NEXT: "{{.*}}/bin{{/|\\\\}}hexagon-as"{{.*}}
|
||||
// CHECK021-NEXT: "{{.*}}/bin{{/|\\\\}}hexagon-ld"
|
||||
// CHECK021-NOT: "-static"
|
||||
// CHECK021-NOT: "-shared"
|
||||
// CHECK021: "{{.*}}/hexagon/lib/v4/crt0_standalone.o"
|
||||
|
@ -429,8 +429,8 @@
|
|||
// RUN: %s 2>&1 \
|
||||
// RUN: | FileCheck -check-prefix=CHECK022 %s
|
||||
// CHECK022: "-cc1"
|
||||
// CHECK022-NEXT: "{{.*}}/bin{{/|\\}}hexagon-as"{{.*}}
|
||||
// CHECK022-NEXT: "{{.*}}/bin{{/|\\}}hexagon-ld"
|
||||
// CHECK022-NEXT: "{{.*}}/bin{{/|\\\\}}hexagon-as"{{.*}}
|
||||
// CHECK022-NEXT: "{{.*}}/bin{{/|\\\\}}hexagon-ld"
|
||||
// CHECK022: "{{.*}}/hexagon/lib/v4/crt0_standalone.o"
|
||||
// CHECK022: "{{.*}}/hexagon/lib/v4/crt0.o"
|
||||
// CHECK022: "{{.*}}/hexagon/lib/v4/init.o"
|
||||
|
@ -457,9 +457,9 @@
|
|||
// RUN: | FileCheck -check-prefix=CHECK023 %s
|
||||
// CHECK023: "-cc1"
|
||||
// CHECK023: "-mrelocation-model" "static"
|
||||
// CHECK023-NEXT: "{{.*}}/bin{{/|\\}}hexagon-as"
|
||||
// CHECK023-NEXT: "{{.*}}/bin{{/|\\\\}}hexagon-as"
|
||||
// CHECK023-NOT: "-G{{[0-9]+}}"
|
||||
// CHECK023-NEXT: "{{.*}}/bin{{/|\\}}hexagon-ld"
|
||||
// CHECK023-NEXT: "{{.*}}/bin{{/|\\\\}}hexagon-ld"
|
||||
// CHECK023-NOT: "-G{{[0-9]+}}"
|
||||
|
||||
// RUN: %clang -### -target hexagon-unknown-linux \
|
||||
|
@ -482,9 +482,9 @@
|
|||
// CHECK024-NOT: "-mrelocation-model" "static"
|
||||
// CHECK024: "-pic-level" "{{[12]}}"
|
||||
// CHECK024: "-mllvm" "-hexagon-small-data-threshold=0"
|
||||
// CHECK024-NEXT: "{{.*}}/bin{{/|\\}}hexagon-as"
|
||||
// CHECK024-NEXT: "{{.*}}/bin{{/|\\\\}}hexagon-as"
|
||||
// CHECK024: "-G0"
|
||||
// CHECK024-NEXT: "{{.*}}/bin{{/|\\}}hexagon-ld"
|
||||
// CHECK024-NEXT: "{{.*}}/bin{{/|\\\\}}hexagon-ld"
|
||||
// CHECK024: "-G0"
|
||||
|
||||
// RUN: %clang -### -target hexagon-unknown-linux \
|
||||
|
@ -505,9 +505,9 @@
|
|||
// CHECK025: "-cc1"
|
||||
// CHECK025: "-mrelocation-model" "static"
|
||||
// CHECK025: "-mllvm" "-hexagon-small-data-threshold=8"
|
||||
// CHECK025-NEXT: "{{.*}}/bin{{/|\\}}hexagon-as"
|
||||
// CHECK025-NEXT: "{{.*}}/bin{{/|\\\\}}hexagon-as"
|
||||
// CHECK025: "-G8"
|
||||
// CHECK025-NEXT: "{{.*}}/bin{{/|\\}}hexagon-ld"
|
||||
// CHECK025-NEXT: "{{.*}}/bin{{/|\\\\}}hexagon-ld"
|
||||
// CHECK025: "-G8"
|
||||
|
||||
// -----------------------------------------------------------------------------
|
||||
|
@ -519,8 +519,8 @@
|
|||
// RUN: %s 2>&1 \
|
||||
// RUN: | FileCheck -check-prefix=CHECK026 %s
|
||||
// CHECK026: "-cc1"
|
||||
// CHECK026-NEXT: "{{.*}}/bin{{/|\\}}hexagon-as"
|
||||
// CHECK026-NEXT: "{{.*}}/bin{{/|\\}}hexagon-ld"
|
||||
// CHECK026-NEXT: "{{.*}}/bin{{/|\\\\}}hexagon-as"
|
||||
// CHECK026-NEXT: "{{.*}}/bin{{/|\\\\}}hexagon-ld"
|
||||
// CHECK026: "-pie"
|
||||
|
||||
// RUN: %clang -### -target hexagon-unknown-linux \
|
||||
|
@ -529,8 +529,8 @@
|
|||
// RUN: %s 2>&1 \
|
||||
// RUN: | FileCheck -check-prefix=CHECK027 %s
|
||||
// CHECK027: "-cc1"
|
||||
// CHECK027-NEXT: "{{.*}}/bin{{/|\\}}hexagon-as"
|
||||
// CHECK027-NEXT: "{{.*}}/bin{{/|\\}}hexagon-ld"
|
||||
// CHECK027-NEXT: "{{.*}}/bin{{/|\\\\}}hexagon-as"
|
||||
// CHECK027-NEXT: "{{.*}}/bin{{/|\\\\}}hexagon-ld"
|
||||
// CHECK027-NOT: "-pie"
|
||||
|
||||
// -----------------------------------------------------------------------------
|
||||
|
@ -543,8 +543,8 @@
|
|||
// CHECK028: "-cc1"
|
||||
// CHECK028: "-mqdsp6-compat"
|
||||
// CHECK028: "-Wreturn-type"
|
||||
// CHECK028-NEXT: "{{.*}}/bin{{/|\\}}hexagon-as"
|
||||
// CHECK028-NEXT: "{{.*}}/bin{{/|\\}}hexagon-ld"
|
||||
// CHECK028-NEXT: "{{.*}}/bin{{/|\\\\}}hexagon-as"
|
||||
// CHECK028-NEXT: "{{.*}}/bin{{/|\\\\}}hexagon-ld"
|
||||
|
||||
// -----------------------------------------------------------------------------
|
||||
// Test Assembler related args
|
||||
|
@ -557,6 +557,6 @@
|
|||
// RUN: %s 2>&1 \
|
||||
// RUN: | FileCheck -check-prefix=CHECK029 %s
|
||||
// CHECK029: "-cc1"
|
||||
// CHECK029-NEXT: "{{.*}}/bin{{/|\\}}hexagon-as"
|
||||
// CHECK029-NEXT: "{{.*}}/bin{{/|\\\\}}hexagon-as"
|
||||
// CHECK029: "--noexecstack" "--trap" "--keep-locals"
|
||||
// CHECK029-NEXT: "{{.*}}/bin{{/|\\}}hexagon-ld"
|
||||
// CHECK029-NEXT: "{{.*}}/bin{{/|\\\\}}hexagon-ld"
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
// RUN: -m32 -target x86_64--linux %s 2>&1 | \
|
||||
// RUN: FileCheck --check-prefix=CHECK-M32 %s
|
||||
|
||||
// CHECK-M64: "{{.*}}{{[/\\]}}prefixed_tools_tree{{[/\\]}}x86_64--linux-as"
|
||||
// CHECK-M64: "{{.*}}{{[/\\]}}prefixed_tools_tree{{[/\\]}}x86_64--linux-ld"
|
||||
// CHECK-M32: "{{.*}}{{[/\\]}}prefixed_tools_tree{{[/\\]}}x86_64--linux-as"
|
||||
// CHECK-M32: "{{.*}}{{[/\\]}}prefixed_tools_tree{{[/\\]}}x86_64--linux-ld"
|
||||
// CHECK-M64: "{{.*}}{{/|\\\\}}prefixed_tools_tree{{/|\\\\}}x86_64--linux-as"
|
||||
// CHECK-M64: "{{.*}}{{/|\\\\}}prefixed_tools_tree{{/|\\\\}}x86_64--linux-ld"
|
||||
// CHECK-M32: "{{.*}}{{/|\\\\}}prefixed_tools_tree{{/|\\\\}}x86_64--linux-as"
|
||||
// CHECK-M32: "{{.*}}{{/|\\\\}}prefixed_tools_tree{{/|\\\\}}x86_64--linux-ld"
|
||||
|
|
Loading…
Reference in New Issue