Sebastian Pop | 9ec60df | 2012-01-20 22:01:23 +0000 | [diff] [blame] | 1 | // RUN: %clang -target i386-apple-darwin10 -### -x assembler -c %s \ |
Bob Wilson | 1a1764b | 2011-10-30 00:20:28 +0000 | [diff] [blame] | 2 | // RUN: -no-integrated-as -static -dynamic 2>%t |
Daniel Dunbar | 4fcfde4 | 2009-11-08 01:45:36 +0000 | [diff] [blame] | 3 | // RUN: FileCheck -check-prefix=STATIC_AND_DYNAMIC-32 --input-file %t %s |
Daniel Dunbar | f5438e3 | 2010-07-22 01:47:22 +0000 | [diff] [blame] | 4 | // |
Mike Stump | 5385b4a | 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 | 0e2679d | 2009-08-24 22:26:16 +0000 | [diff] [blame] | 6 | |
Sebastian Pop | 9ec60df | 2012-01-20 22:01:23 +0000 | [diff] [blame] | 7 | // RUN: %clang -target x86_64-apple-darwin10 -### -x assembler -c %s \ |
Bob Wilson | 1a1764b | 2011-10-30 00:20:28 +0000 | [diff] [blame] | 8 | // RUN: -no-integrated-as -static 2>%t |
Daniel Dunbar | 0e2679d | 2009-08-24 22:26:16 +0000 | [diff] [blame] | 9 | // RUN: FileCheck -check-prefix=STATIC-64 --input-file %t %s |
Daniel Dunbar | f5438e3 | 2010-07-22 01:47:22 +0000 | [diff] [blame] | 10 | // |
Mike Stump | 5385b4a | 2009-10-08 22:25:29 +0000 | [diff] [blame] | 11 | // CHECK-STATIC-64: as{{(.exe)?}}" "-arch" "x86_64" "-force_cpusubtype_ALL" "-o" |
Daniel Dunbar | 0e2679d | 2009-08-24 22:26:16 +0000 | [diff] [blame] | 12 | |
Sebastian Pop | 9ec60df | 2012-01-20 22:01:23 +0000 | [diff] [blame] | 13 | // RUN: %clang -target x86_64-apple-darwin10 -### \ |
Jim Grosbach | 0227ade | 2012-02-23 22:12:53 +0000 | [diff] [blame] | 14 | // RUN: -arch armv6 -no-integrated-as -x assembler -c %s 2>%t |
Daniel Dunbar | f5438e3 | 2010-07-22 01:47:22 +0000 | [diff] [blame] | 15 | // RUN: FileCheck -check-prefix=ARMV6 --input-file %t %s |
| 16 | // |
| 17 | // CHECK-ARMV6: as{{(.exe)?}}" "-arch" "armv6" "-o" |