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 |
Daniel Dunbar | 8b57697 | 2009-11-08 01:45:36 +0000 | [diff] [blame] | 3 | // RUN: FileCheck -check-prefix=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 |
Daniel Dunbar | a6b4a3d | 2009-08-24 22:26:16 +0000 | [diff] [blame] | 9 | // RUN: FileCheck -check-prefix=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 -### \ |
Daniel Dunbar | 6d48476 | 2010-07-22 01:47:22 +0000 | [diff] [blame] | 14 | // RUN: -arch armv6 -x assembler -c %s 2>%t |
| 15 | // RUN: FileCheck -check-prefix=ARMV6 --input-file %t %s |
| 16 | // |
| 17 | // CHECK-ARMV6: as{{(.exe)?}}" "-arch" "armv6" "-o" |