2014-06-08 03:32:38 +08:00
|
|
|
// 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
|
|
|
|
|
2015-07-07 14:42:05 +08:00
|
|
|
// CHECK-DEFAULT-NOT: "-target-feature" "+long-calls"
|
2014-06-08 03:32:38 +08:00
|
|
|
|
2015-07-07 14:42:05 +08:00
|
|
|
// CHECK-LONG-CALLS: "-target-feature" "+long-calls"
|
2014-06-08 03:32:38 +08:00
|
|
|
|
2015-07-07 14:42:05 +08:00
|
|
|
// CHECK-NO-LONG-CALLS-NOT: "-target-feature" "+long-calls"
|
2014-06-08 03:32:38 +08:00
|
|
|
|