[clang] Implement lifetime analysis for lifetime_capture_by(X) (#115921)
[llvm-project.git] / clang / test / Driver / pseudo-probe.c
blob76c4364e609d0c1c5592f848f051eb31e116e337
1 // RUN: %clang -### -fpseudo-probe-for-profiling %s 2>&1 | FileCheck %s --check-prefix=YESPROBE
2 // RUN: %clang -### -fno-pseudo-probe-for-profiling %s 2>&1 | FileCheck %s --check-prefix=NOPROBE
3 // RUN: %clang -### -fpseudo-probe-for-profiling -fdebug-info-for-profiling %s 2>&1 | FileCheck %s --check-prefix=YESPROBE --check-prefix=YESDEBUG
4 // RUN: %clang -### -fpseudo-probe-for-profiling -funique-internal-linkage-names %s 2>&1 | FileCheck %s --check-prefix=YESPROBE
5 // RUN: %clang -### -fpseudo-probe-for-profiling -fno-unique-internal-linkage-names %s 2>&1 | FileCheck %s --check-prefix=NONAME
7 // YESDEBUG: -fdebug-info-for-profiling
8 // YESPROBE: -fpseudo-probe-for-profiling
9 // YESPROBE: -funique-internal-linkage-names
10 // NOPROBE-NOT: -fpseudo-probe-for-profiling
11 // NOPROBE-NOT: -funique-internal-linkage-names
12 // NONAME: -fpseudo-probe-for-profiling
13 // NONAME-NOT: -funique-internal-linkage-names