20 lines · c
1// RUN: %clang --target=aarch64 %s -### 2>&1 \2// RUN: | FileCheck --check-prefix=CHECK-DEF %s3// RUN: %clang --target=aarch64 -mfix-cortex-a53-835769 %s -### 2>&1 \4// RUN: | FileCheck --check-prefix=CHECK-YES %s5// RUN: %clang --target=aarch64 -mno-fix-cortex-a53-835769 %s -### 2>&1 \6// RUN: | FileCheck --check-prefix=CHECK-NO %s7 8// RUN: %clang --target=aarch64-linux-androideabi %s -### 2>&1 \9// RUN: | FileCheck --check-prefix=CHECK-YES %s10 11// RUN: %clang --target=aarch64-fuchsia %s -### 2>&1 \12// RUN: | FileCheck --check-prefix=CHECK-YES %s13 14// RUN: %clang --target=aarch64-fuchsia -mcpu=cortex-a73 %s -### 2>&1 \15// RUN: | FileCheck --check-prefix=CHECK-DEF %s16 17// CHECK-DEF-NOT: "{[+-]}fix-cortex-a53-835769"18// CHECK-YES: "+fix-cortex-a53-835769"19// CHECK-NO: "-fix-cortex-a53-835769"20