1 // RUN: %clang -### -c -fprofile-generate-cold-function-coverage %s 2>&1 | FileCheck %s
2 // CHECK: "--instrument-cold-function-only-path=default_%m.profraw"
3 // CHECK: "--pgo-instrument-cold-function-only"
4 // CHECK: "--pgo-function-entry-coverage"
5 // CHECK-NOT: "-fprofile-instrument"
6 // CHECK-NOT: "-fprofile-instrument-path=
8 // RUN: %clang -### -c -fprofile-generate-cold-function-coverage=dir %s 2>&1 | FileCheck %s --check-prefix=CHECK-EQ
9 // CHECK-EQ: "--instrument-cold-function-only-path=dir{{/|\\\\}}default_%m.profraw"