Sebastian Pop | 422377c | 2012-01-20 22:01:23 +0000 | [diff] [blame] | 1 | // RUN: %clang -target i386-apple-darwin10 -### -x assembler -c %s \ |
Bob Wilson | d32fba2 | 2011-10-30 00:20:28 +0000 | [diff] [blame] | 2 | // RUN: -no-integrated-as -static -dynamic 2>%t |
Tim Northover | 19ae117 | 2013-08-12 12:51:05 +0000 | [diff] [blame] | 3 | // RUN: FileCheck -check-prefix=CHECK-STATIC_AND_DYNAMIC-32 --input-file %t %s |
Daniel Dunbar | 6d48476 | 2010-07-22 01:47:22 +0000 | [diff] [blame] | 4 | // |
Mike Stump | 8409f91 | 2009-10-08 22:25:29 +0000 | [diff] [blame] | 5 | // CHECK-STATIC_AND_DYNAMIC-32: as{{(.exe)?}}" "-arch" "i386" "-force_cpusubtype_ALL" "-static" "-o" |
Daniel Dunbar | a6b4a3d | 2009-08-24 22:26:16 +0000 | [diff] [blame] | 6 | |
Sebastian Pop | 422377c | 2012-01-20 22:01:23 +0000 | [diff] [blame] | 7 | // RUN: %clang -target x86_64-apple-darwin10 -### -x assembler -c %s \ |
Bob Wilson | d32fba2 | 2011-10-30 00:20:28 +0000 | [diff] [blame] | 8 | // RUN: -no-integrated-as -static 2>%t |
Tim Northover | 19ae117 | 2013-08-12 12:51:05 +0000 | [diff] [blame] | 9 | // RUN: FileCheck -check-prefix=CHECK-STATIC-64 --input-file %t %s |
Daniel Dunbar | 6d48476 | 2010-07-22 01:47:22 +0000 | [diff] [blame] | 10 | // |
Mike Stump | 8409f91 | 2009-10-08 22:25:29 +0000 | [diff] [blame] | 11 | // CHECK-STATIC-64: as{{(.exe)?}}" "-arch" "x86_64" "-force_cpusubtype_ALL" "-o" |
Daniel Dunbar | a6b4a3d | 2009-08-24 22:26:16 +0000 | [diff] [blame] | 12 | |
Sebastian Pop | 422377c | 2012-01-20 22:01:23 +0000 | [diff] [blame] | 13 | // RUN: %clang -target x86_64-apple-darwin10 -### \ |
Jim Grosbach | ce398aa | 2012-02-23 22:12:53 +0000 | [diff] [blame] | 14 | // RUN: -arch armv6 -no-integrated-as -x assembler -c %s 2>%t |
Tim Northover | 19ae117 | 2013-08-12 12:51:05 +0000 | [diff] [blame] | 15 | // RUN: FileCheck -check-prefix=CHECK-ARMV6 --input-file %t %s |
Daniel Dunbar | 6d48476 | 2010-07-22 01:47:22 +0000 | [diff] [blame] | 16 | // |
| 17 | // CHECK-ARMV6: as{{(.exe)?}}" "-arch" "armv6" "-o" |