2013-10-03 22:23:28 +08:00
|
|
|
// RUN: %clang -arch armv7 -target thumbv7-apple-darwin-eabi -### -c %s 2>&1 | FileCheck %s --check-prefix=CHECK-AAPCS
|
2014-05-22 20:54:30 +08:00
|
|
|
// RUN: %clang -target x86_64-apple-macosx10.9 -arch armv7m -### -c %s 2>&1 | FileCheck %s --check-prefix=CHECK-AAPCS
|
2013-10-03 22:29:54 +08:00
|
|
|
// RUN: %clang -arch armv7s -target thumbv7-apple-ios -### -c %s 2>&1 | FileCheck %s --check-prefix=CHECK-APCS
|
2013-10-03 22:23:28 +08:00
|
|
|
// RUN: %clang -arch armv7s -target thumbv7-apple-darwin -### -c %s 2>&1 | FileCheck %s --check-prefix=CHECK-APCS
|
2014-01-16 16:48:16 +08:00
|
|
|
// RUN: %clang -arch armv6m -target thumbv7-apple-darwin -### -c %s 2>&1 | FileCheck %s --check-prefix=CHECK-MACHO-EMBEDDED
|
|
|
|
// RUN: %clang -arch armv7m -target thumbv7-apple-darwin -### -c %s 2>&1 | FileCheck %s --check-prefix=CHECK-MACHO-EMBEDDED
|
|
|
|
// RUN: %clang -arch armv7em -target thumbv7-apple-darwin -### -c %s 2>&1 | FileCheck %s --check-prefix=CHECK-MACHO-EMBEDDED
|
2013-10-24 18:48:50 +08:00
|
|
|
|
|
|
|
// CHECK-IOS: "-triple" "thumbv7" "thumbv7-apple-ios
|
2013-10-03 22:23:28 +08:00
|
|
|
|
|
|
|
// CHECK-AAPCS: "-target-abi" "aapcs"
|
|
|
|
// CHECK-APCS: "-target-abi" "apcs-gnu"
|
2014-01-16 16:48:16 +08:00
|
|
|
|
|
|
|
// CHECK-MACHO-EMBEDDED: "-triple" "{{thumbv[67]e?m}}-apple-unknown-macho"
|
|
|
|
// CHECK-MACHO-EMBEDDED: "-mrelocation-model" "pic"
|