aboutsummaryrefslogtreecommitdiff
path: root/test/Driver/arm-long-calls.c
blob: 62294a09c22a0a9b6b4e23fe8bb77337f73be2f7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// RUN: %clang -target armv7-eabi -### %s 2>&1 \
// RUN:    | FileCheck %s -check-prefix CHECK-DEFAULT

// RUN: %clang -target armv7-eabi -### -mlong-calls %s 2>&1 \
// RUN:    | FileCheck %s -check-prefix CHECK-LONG-CALLS

// RUN: %clang -target armv7-eabi -### -mlong-calls -mno-long-calls %s 2>&1 \
// RUN:    | FileCheck %s -check-prefix CHECK-NO-LONG-CALLS

// CHECK-DEFAULT-NOT: "-backend-option" "-arm-long-calls"

// CHECK-LONG-CALLS: "-backend-option" "-arm-long-calls"

// CHECK-NO-LONG-CALLS-NOT: "-backend-option" "-arm-long-calls"