1*0a6a1f1dSLionel Sambuc // RUN: %clang -arch armv7 -target thumbv7-apple-darwin-eabi -### -c %s 2>&1 | FileCheck %s --check-prefix=CHECK-AAPCS 2*0a6a1f1dSLionel Sambuc // RUN: %clang -target x86_64-apple-macosx10.9 -arch armv7m -### -c %s 2>&1 | FileCheck %s --check-prefix=CHECK-AAPCS 3*0a6a1f1dSLionel Sambuc // RUN: %clang -arch armv7s -target thumbv7-apple-ios -### -c %s 2>&1 | FileCheck %s --check-prefix=CHECK-APCS 4*0a6a1f1dSLionel Sambuc // RUN: %clang -arch armv7s -target thumbv7-apple-darwin -### -c %s 2>&1 | FileCheck %s --check-prefix=CHECK-APCS 5*0a6a1f1dSLionel Sambuc // RUN: %clang -arch armv6m -target thumbv7-apple-darwin -### -c %s 2>&1 | FileCheck %s --check-prefix=CHECK-MACHO-EMBEDDED 6*0a6a1f1dSLionel Sambuc // RUN: %clang -arch armv7m -target thumbv7-apple-darwin -### -c %s 2>&1 | FileCheck %s --check-prefix=CHECK-MACHO-EMBEDDED 7*0a6a1f1dSLionel Sambuc // RUN: %clang -arch armv7em -target thumbv7-apple-darwin -### -c %s 2>&1 | FileCheck %s --check-prefix=CHECK-MACHO-EMBEDDED 8*0a6a1f1dSLionel Sambuc 9*0a6a1f1dSLionel Sambuc // CHECK-IOS: "-triple" "thumbv7" "thumbv7-apple-ios 10*0a6a1f1dSLionel Sambuc 11*0a6a1f1dSLionel Sambuc // CHECK-AAPCS: "-target-abi" "aapcs" 12*0a6a1f1dSLionel Sambuc // CHECK-APCS: "-target-abi" "apcs-gnu" 13*0a6a1f1dSLionel Sambuc 14*0a6a1f1dSLionel Sambuc // CHECK-MACHO-EMBEDDED: "-triple" "{{thumbv[67]e?m}}-apple-unknown-macho" 15*0a6a1f1dSLionel Sambuc // CHECK-MACHO-EMBEDDED: "-mrelocation-model" "pic" 16