================ @@ -0,0 +1,12 @@ +// Test -fprofile-generate-cold-function-coverage +// RUN: %clang -O2 -fprofile-generate-cold-function-coverage=/xxx/yyy/ -fprofile-sample-accurate -fprofile-sample-use=%S/Inputs/pgo-cold-func.prof -S -emit-llvm -o - %s | FileCheck %s ---------------- ellishg wrote:
You can use `split-file` to avoid needing to checkin a separate test file in `Inputs/`. https://llvm.org/docs/TestingGuide.html#extra-files https://github.com/llvm/llvm-project/pull/109837 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits