blob: e35391eea737e20d33e5487d15534b32282fe8df [file] [log] [blame]
Sebastian Pop422377c2012-01-20 22:01:23 +00001// RUN: %clang -target i386-apple-darwin10 -### -x assembler -c %s \
Bob Wilsond32fba22011-10-30 00:20:28 +00002// RUN: -no-integrated-as -static -dynamic 2>%t
David Fang073a7c92013-12-10 22:51:25 +00003// RUN: FileCheck -check-prefix=CHECK-STATIC_AND_DYNAMIC-32-DARWIN10 --input-file %t %s
4//
5// CHECK-STATIC_AND_DYNAMIC-32-DARWIN10: as{{(.exe)?}}" "-arch" "i386" "-force_cpusubtype_ALL" "-static" "-o"
6
7// RUN: %clang -target i386-apple-darwin11 -### -x assembler -c %s \
8// RUN: -no-integrated-as -static -dynamic 2>%t
Tim Northover19ae1172013-08-12 12:51:05 +00009// RUN: FileCheck -check-prefix=CHECK-STATIC_AND_DYNAMIC-32 --input-file %t %s
Daniel Dunbar6d484762010-07-22 01:47:22 +000010//
Kevin Enderby319baa42013-11-18 23:30:29 +000011// CHECK-STATIC_AND_DYNAMIC-32: as{{(.exe)?}}" "-Q" "-arch" "i386" "-force_cpusubtype_ALL" "-static" "-o"
Daniel Dunbara6b4a3d2009-08-24 22:26:16 +000012
David Fang073a7c92013-12-10 22:51:25 +000013// RUN: %clang -target x86_64-apple-darwin11 -### -x assembler -c %s \
Bob Wilsond32fba22011-10-30 00:20:28 +000014// RUN: -no-integrated-as -static 2>%t
Tim Northover19ae1172013-08-12 12:51:05 +000015// RUN: FileCheck -check-prefix=CHECK-STATIC-64 --input-file %t %s
Daniel Dunbar6d484762010-07-22 01:47:22 +000016//
Kevin Enderby319baa42013-11-18 23:30:29 +000017// CHECK-STATIC-64: as{{(.exe)?}}" "-Q" "-arch" "x86_64" "-force_cpusubtype_ALL" "-o"
Daniel Dunbara6b4a3d2009-08-24 22:26:16 +000018
David Fang073a7c92013-12-10 22:51:25 +000019// RUN: %clang -target x86_64-apple-darwin11 -### \
Jim Grosbachce398aa2012-02-23 22:12:53 +000020// RUN: -arch armv6 -no-integrated-as -x assembler -c %s 2>%t
Tim Northover19ae1172013-08-12 12:51:05 +000021// RUN: FileCheck -check-prefix=CHECK-ARMV6 --input-file %t %s
Daniel Dunbar6d484762010-07-22 01:47:22 +000022//
Kevin Enderby319baa42013-11-18 23:30:29 +000023// CHECK-ARMV6: as{{(.exe)?}}" "-Q" "-arch" "armv6" "-o"