brintos

brintos / llvm-project-archived public Read only

0
0
Text · 541 B · b42ed26 Raw
10 lines · c
1// RUN: %clang -### -c -fprofile-generate-cold-function-coverage %s 2>&1 | FileCheck %s2// CHECK: "--instrument-cold-function-only-path=default_%m.profraw" 3// CHECK: "--pgo-instrument-cold-function-only"4// CHECK: "--pgo-function-entry-coverage"5// CHECK:  "-fprofile-instrument=sample-coldcov"6// CHECK-NOT:  "-fprofile-instrument-path=7 8// RUN: %clang -### -c -fprofile-generate-cold-function-coverage=dir %s 2>&1 | FileCheck %s --check-prefix=CHECK-EQ9// CHECK-EQ: "--instrument-cold-function-only-path=dir{{/|\\\\}}default_%m.profraw" 10