[clang] Implement lifetime analysis for lifetime_capture_by(X) (#115921)
[llvm-project.git] / clang / test / Driver / loongarch-mannotate-tablejump.c
blob586e62c35f4f76c6ff800be8be63e6fcc297f8bc
1 /// Test -m[no-]annotate-tablejump options.
3 // RUN: %clang --target=loongarch64 -mannotate-tablejump %s -### 2>&1 | \
4 // RUN: FileCheck %s --check-prefix=CC1-ANOTATE
5 // RUN: %clang --target=loongarch64 -mno-annotate-tablejump %s -### 2>&1 | \
6 // RUN: FileCheck %s --check-prefix=CC1-NO-ANOTATE
7 // RUN: %clang --target=loongarch64 -mannotate-tablejump -mno-annotate-tablejump %s -### 2>&1 | \
8 // RUN: FileCheck %s --check-prefix=CC1-NO-ANOTATE
9 // RUN: %clang --target=loongarch64 -mno-annotate-tablejump -mannotate-tablejump %s -### 2>&1 | \
10 // RUN: FileCheck %s --check-prefix=CC1-ANOTATE
12 // CC1-ANOTATE: "-loongarch-annotate-tablejump"
13 // CC1-NO-ANOTATE-NOT: "-loongarch-annotate-tablejump"