1RUN: %build -n --verbose --arch=32 --compiler=clang --mode=compile-and-link -o %t/foo.exe foobar.c \ 2RUN: | FileCheck --check-prefix=CHECK --check-prefix=CHECK-32 %s 3 4RUN: %build -n --verbose --arch=64 --compiler=clang --mode=compile-and-link -o %t/foo.exe foobar.c \ 5RUN: | FileCheck --check-prefix=CHECK --check-prefix=CHECK-64 %s 6 7CHECK: Cleaning {{.*}}toolchain-clang.test.tmp{{.}}foo.exe-foobar.o 8CHECK: Cleaning {{.*}}toolchain-clang.test.tmp{{.}}foo.exe 9CHECK: compiling foobar.c -> foo.exe-foobar.o 10CHECK-32: {{.*}}clang++{{(\.EXE)?}} -m32 -g -O0 -c {{.*}}-o {{.*}}foo.exe-foobar.o {{.*}}foobar.c 11CHECK-64: {{.*}}clang++{{(\.EXE)?}} -m64 -g -O0 -c {{.*}}-o {{.*}}foo.exe-foobar.o {{.*}}foobar.c 12CHECK: linking foo.exe-foobar.o -> foo.exe 13CHECK-32: {{.*}}clang++{{(\.EXE)?}} -m32 {{(-L.* )?(-Wl,-rpath,.* )?}}-o {{.*}}foo.exe {{.*}}foo.exe-foobar.o 14CHECK-64: {{.*}}clang++{{(\.EXE)?}} -m64 {{(-L.* )?(-Wl,-rpath,.* )?}}-o {{.*}}foo.exe {{.*}}foo.exe-foobar.o 15