[clang] Implement lifetime analysis for lifetime_capture_by(X) (#115921)
[llvm-project.git] / clang / test / Driver / hexagon-long-calls.c
blob368ce8d0f742748bebd9c2eef05edb18540fabc4
1 // RUN: %clang --target=hexagon -### %s 2>&1 \
2 // RUN: | FileCheck %s -check-prefix CHECK-DEFAULT
4 // RUN: %clang --target=hexagon -### -mlong-calls %s 2>&1 \
5 // RUN: | FileCheck %s -check-prefix CHECK-LONG-CALLS
7 // RUN: %clang --target=hexagon -### -mlong-calls -mno-long-calls %s 2>&1 \
8 // RUN: | FileCheck %s -check-prefix CHECK-NO-LONG-CALLS
10 // CHECK-DEFAULT-NOT: "-target-feature" "+long-calls"
12 // CHECK-LONG-CALLS: "-target-feature" "+long-calls"
14 // CHECK-NO-LONG-CALLS-NOT: "-target-feature" "+long-calls"