diff --git a/doc/developer-notes.md b/doc/developer-notes.md index 18691811aa4..bd1431e7902 100644 --- a/doc/developer-notes.md +++ b/doc/developer-notes.md @@ -457,7 +457,8 @@ LLVM_PROFILE_FILE="$(pwd)/build/raw_profile_data/%m_%p.profraw" ctest --test-dir LLVM_PROFILE_FILE="$(pwd)/build/raw_profile_data/%m_%p.profraw" build/test/functional/test_runner.py # Append "-j N" here for N parallel jobs # Merge all the raw profile data into a single file -find build/raw_profile_data -name "*.profraw" | xargs llvm-profdata merge -o build/coverage.profdata +find build/raw_profile_data -name "*.profraw" > build/raw_profile_data_files.txt +llvm-profdata merge -f build/raw_profile_data_files.txt -o build/coverage.profdata ``` > **Note:** The "counter mismatch" warning can be safely ignored, though it can be resolved by updating to Clang 19.