blob: 92c76414a72b73c68d31cea25762ed81f2e7008e [file] [log] [blame]
Sebastian Pop9ec60df2012-01-20 22:01:23 +00001// RUN: %clang -target i386-apple-darwin10 -### -x assembler -c %s \
Bob Wilson1a1764b2011-10-30 00:20:28 +00002// RUN: -no-integrated-as -static -dynamic 2>%t
Daniel Dunbar4fcfde42009-11-08 01:45:36 +00003// RUN: FileCheck -check-prefix=STATIC_AND_DYNAMIC-32 --input-file %t %s
Daniel Dunbarf5438e32010-07-22 01:47:22 +00004//
Mike Stump5385b4a2009-10-08 22:25:29 +00005// CHECK-STATIC_AND_DYNAMIC-32: as{{(.exe)?}}" "-arch" "i386" "-force_cpusubtype_ALL" "-static" "-o"
Daniel Dunbar0e2679d2009-08-24 22:26:16 +00006
Sebastian Pop9ec60df2012-01-20 22:01:23 +00007// RUN: %clang -target x86_64-apple-darwin10 -### -x assembler -c %s \
Bob Wilson1a1764b2011-10-30 00:20:28 +00008// RUN: -no-integrated-as -static 2>%t
Daniel Dunbar0e2679d2009-08-24 22:26:16 +00009// RUN: FileCheck -check-prefix=STATIC-64 --input-file %t %s
Daniel Dunbarf5438e32010-07-22 01:47:22 +000010//
Mike Stump5385b4a2009-10-08 22:25:29 +000011// CHECK-STATIC-64: as{{(.exe)?}}" "-arch" "x86_64" "-force_cpusubtype_ALL" "-o"
Daniel Dunbar0e2679d2009-08-24 22:26:16 +000012
Sebastian Pop9ec60df2012-01-20 22:01:23 +000013// RUN: %clang -target x86_64-apple-darwin10 -### \
Jim Grosbach0227ade2012-02-23 22:12:53 +000014// RUN: -arch armv6 -no-integrated-as -x assembler -c %s 2>%t
Daniel Dunbarf5438e32010-07-22 01:47:22 +000015// RUN: FileCheck -check-prefix=ARMV6 --input-file %t %s
16//
17// CHECK-ARMV6: as{{(.exe)?}}" "-arch" "armv6" "-o"