2015-07-07 14:42:05 +08:00
|
|
|
// RUN: %clang_cc1 -triple thumbv7-apple-ios5 -target-feature +long-calls -emit-llvm -o - %s | FileCheck -check-prefix=LONGCALL %s
|
|
|
|
// RUN: %clang_cc1 -triple thumbv7-apple-ios5 -emit-llvm -o - %s | FileCheck -check-prefix=NOLONGCALL %s
|
|
|
|
|
2017-06-07 19:50:45 +08:00
|
|
|
// LONGCALL: attributes #0 = { {{.*}} "target-features"="+long-calls,+thumb-mode"
|
|
|
|
// NOLONGCALL-NOT: attributes #0 = { {{.*}} "target-features"="+long-calls,+thumb-mode"
|
2015-07-07 14:42:05 +08:00
|
|
|
|
|
|
|
int foo1(int a) { return a; }
|