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

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

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

// CHECK-DEFAULT-NOT: "-target-feature" "+long-calls"

// CHECK-LONG-CALLS: "-target-feature" "+long-calls"

// CHECK-NO-LONG-CALLS-NOT: "-target-feature" "+long-calls"