diff --git a/pgo/pgo.sh b/pgo/pgo.sh index b59f5c21..24891438 100755 --- a/pgo/pgo.sh +++ b/pgo/pgo.sh @@ -103,6 +103,7 @@ if [ ${do_pgo} = yes ]; then ninja -C "${blddir}" test # Run mode-dependent script to generate profiling data + export LLVM_PROFILE_FILE="${blddir}/default_%m.profraw" "${srcdir}"/pgo/${mode}.sh "${srcdir}" "${blddir}" if [ ${compiler} = clang ]; then