Tim Northover | e66c946 | 2013-10-03 14:23:28 +0000 | [diff] [blame] | 1 | // RUN: %clang -arch armv7 -target thumbv7-apple-darwin-eabi -### -c %s 2>&1 | FileCheck %s --check-prefix=CHECK-AAPCS |
Tim Northover | e5c6f4c | 2014-05-22 12:54:30 +0000 | [diff] [blame] | 2 | // RUN: %clang -target x86_64-apple-macosx10.9 -arch armv7m -### -c %s 2>&1 | FileCheck %s --check-prefix=CHECK-AAPCS |
Tim Northover | 4599d94 | 2013-10-03 14:29:54 +0000 | [diff] [blame] | 3 | // RUN: %clang -arch armv7s -target thumbv7-apple-ios -### -c %s 2>&1 | FileCheck %s --check-prefix=CHECK-APCS |
Tim Northover | e66c946 | 2013-10-03 14:23:28 +0000 | [diff] [blame] | 4 | // RUN: %clang -arch armv7s -target thumbv7-apple-darwin -### -c %s 2>&1 | FileCheck %s --check-prefix=CHECK-APCS |
Tim Northover | 157d911 | 2014-01-16 08:48:16 +0000 | [diff] [blame] | 5 | // RUN: %clang -arch armv6m -target thumbv7-apple-darwin -### -c %s 2>&1 | FileCheck %s --check-prefix=CHECK-MACHO-EMBEDDED |
| 6 | // RUN: %clang -arch armv7m -target thumbv7-apple-darwin -### -c %s 2>&1 | FileCheck %s --check-prefix=CHECK-MACHO-EMBEDDED |
| 7 | // RUN: %clang -arch armv7em -target thumbv7-apple-darwin -### -c %s 2>&1 | FileCheck %s --check-prefix=CHECK-MACHO-EMBEDDED |
Tim Northover | 901dee4 | 2013-10-24 10:48:50 +0000 | [diff] [blame] | 8 | |
Tim Northover | 901dee4 | 2013-10-24 10:48:50 +0000 | [diff] [blame] | 9 | // CHECK-IOS: "-triple" "thumbv7" "thumbv7-apple-ios |
Tim Northover | e66c946 | 2013-10-03 14:23:28 +0000 | [diff] [blame] | 10 | |
| 11 | // CHECK-AAPCS: "-target-abi" "aapcs" |
| 12 | // CHECK-APCS: "-target-abi" "apcs-gnu" |
Tim Northover | 157d911 | 2014-01-16 08:48:16 +0000 | [diff] [blame] | 13 | |
| 14 | // CHECK-MACHO-EMBEDDED: "-triple" "{{thumbv[67]e?m}}-apple-unknown-macho" |
| 15 | // CHECK-MACHO-EMBEDDED: "-mrelocation-model" "pic" |