2021-02-10 06:41:52 +08:00
|
|
|
// RUN: %clang -### -fpseudo-probe-for-profiling %s 2>&1 | FileCheck %s --check-prefix=YESPROBE
|
|
|
|
// RUN: %clang -### -fno-pseudo-probe-for-profiling %s 2>&1 | FileCheck %s --check-prefix=NOPROBE
|
2021-08-11 09:19:21 +08:00
|
|
|
// RUN: %clang -### -fpseudo-probe-for-profiling -fdebug-info-for-profiling %s 2>&1 | FileCheck %s --check-prefix=YESPROBE --check-prefix=YESDEBUG
|
2021-07-17 05:26:03 +08:00
|
|
|
// RUN: %clang -### -fpseudo-probe-for-profiling -funique-internal-linkage-names %s 2>&1 | FileCheck %s --check-prefix=YESPROBE
|
|
|
|
// RUN: %clang -### -fpseudo-probe-for-profiling -fno-unique-internal-linkage-names %s 2>&1 | FileCheck %s --check-prefix=NONAME
|
2021-02-10 06:41:52 +08:00
|
|
|
|
2021-08-11 09:19:21 +08:00
|
|
|
// YESDEBUG: -fdebug-info-for-profiling
|
2021-02-10 06:41:52 +08:00
|
|
|
// YESPROBE: -fpseudo-probe-for-profiling
|
2021-07-17 05:26:03 +08:00
|
|
|
// YESPROBE: -funique-internal-linkage-names
|
2021-02-10 06:41:52 +08:00
|
|
|
// NOPROBE-NOT: -fpseudo-probe-for-profiling
|
2021-07-17 05:26:03 +08:00
|
|
|
// NOPROBE-NOT: -funique-internal-linkage-names
|
|
|
|
// NONAME: -fpseudo-probe-for-profiling
|
|
|
|
// NONAME-NOT: -funique-internal-linkage-names
|