blob: d50c85b749de9bb9c529691b91c61384d5f8e48b [file] [log] [blame]
Daniel Dunbarb1e5e662009-08-24 09:16:49 +00001// RUN: clang -ccc-clang-archs "" -ccc-host-triple powerpc64-pc-freebsd8 %s -### 2> %t.log &&
Daniel Dunbar5f865672009-05-04 00:31:11 +00002// RUN: cat %t.log &&
John Thompson5e517c82009-10-13 18:51:26 +00003// RUN: FileCheck -input-file %t.log %s
Daniel Dunbar5f865672009-05-04 00:31:11 +00004
John Thompson5e517c82009-10-13 18:51:26 +00005// CHECK: clang-cc{{.*}}" "-triple" "powerpc64-pc-freebsd8"
6// CHECK: as{{.*}}" "-o" "{{.*}}.o" "{{.*}}.s
7// CHECK: ld{{.*}}" "--eh-frame-hdr" "-dynamic-linker" "{{.*}}ld-elf{{.*}}" "-o" "a.out" "{{.*}}crt1.o" "{{.*}}crti.o" "{{.*}}crtbegin.o" "{{.*}}.o" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "-lc" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "{{.*}}crtend.o" "{{.*}}crtn.o"