blob: 8b13d77d0149a56742d6291921ff840836b3be38 [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
Tim Northover19ae1172013-08-12 12:51:05 +00003// RUN: FileCheck -check-prefix=CHECK-STATIC_AND_DYNAMIC-32 --input-file %t %s
Daniel Dunbar6d484762010-07-22 01:47:22 +00004//
Mike Stump8409f912009-10-08 22:25:29 +00005// CHECK-STATIC_AND_DYNAMIC-32: as{{(.exe)?}}" "-arch" "i386" "-force_cpusubtype_ALL" "-static" "-o"
Daniel Dunbara6b4a3d2009-08-24 22:26:16 +00006
Sebastian Pop422377c2012-01-20 22:01:23 +00007// RUN: %clang -target x86_64-apple-darwin10 -### -x assembler -c %s \
Bob Wilsond32fba22011-10-30 00:20:28 +00008// RUN: -no-integrated-as -static 2>%t
Tim Northover19ae1172013-08-12 12:51:05 +00009// RUN: FileCheck -check-prefix=CHECK-STATIC-64 --input-file %t %s
Daniel Dunbar6d484762010-07-22 01:47:22 +000010//
Mike Stump8409f912009-10-08 22:25:29 +000011// CHECK-STATIC-64: as{{(.exe)?}}" "-arch" "x86_64" "-force_cpusubtype_ALL" "-o"
Daniel Dunbara6b4a3d2009-08-24 22:26:16 +000012
Sebastian Pop422377c2012-01-20 22:01:23 +000013// RUN: %clang -target x86_64-apple-darwin10 -### \
Jim Grosbachce398aa2012-02-23 22:12:53 +000014// RUN: -arch armv6 -no-integrated-as -x assembler -c %s 2>%t
Tim Northover19ae1172013-08-12 12:51:05 +000015// RUN: FileCheck -check-prefix=CHECK-ARMV6 --input-file %t %s
Daniel Dunbar6d484762010-07-22 01:47:22 +000016//
17// CHECK-ARMV6: as{{(.exe)?}}" "-arch" "armv6" "-o"