[clang] Implement lifetime analysis for lifetime_capture_by(X) (#115921)
[llvm-project.git] / clang / test / Driver / aarch64-fix-cortex-a53-835769.c
blob84d8c1dde7a7890f39a331b9dae5dcf2fc65c0bb
1 // RUN: %clang --target=aarch64 %s -### 2>&1 \
2 // RUN: | FileCheck --check-prefix=CHECK-DEF %s
3 // RUN: %clang --target=aarch64 -mfix-cortex-a53-835769 %s -### 2>&1 \
4 // RUN: | FileCheck --check-prefix=CHECK-YES %s
5 // RUN: %clang --target=aarch64 -mno-fix-cortex-a53-835769 %s -### 2>&1 \
6 // RUN: | FileCheck --check-prefix=CHECK-NO %s
8 // RUN: %clang --target=aarch64-linux-androideabi %s -### 2>&1 \
9 // RUN: | FileCheck --check-prefix=CHECK-YES %s
11 // RUN: %clang --target=aarch64-fuchsia %s -### 2>&1 \
12 // RUN: | FileCheck --check-prefix=CHECK-YES %s
14 // RUN: %clang --target=aarch64-fuchsia -mcpu=cortex-a73 %s -### 2>&1 \
15 // RUN: | FileCheck --check-prefix=CHECK-DEF %s
17 // CHECK-DEF-NOT: "{[+-]}fix-cortex-a53-835769"
18 // CHECK-YES: "+fix-cortex-a53-835769"
19 // CHECK-NO: "-fix-cortex-a53-835769"