When all provided source files are filtered out either due to --ignore-filename-regex or not part of binary, don't generate coverage reults for all source files. Because if users want to generate coverage results for all source files, they don't even need to provid selected source files or --ignore-filename-regex.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Unit Tests
Unit Tests
Event Timeline
Comment Actions
- Add a test case
- Fix broken test cases caused by -path-equivalence= not working correctly with . and .. in paths.
Comment Actions
I've reverted this and the follow-up patch in rG0a7f41739fd994a50 as it continued to fail tools/llvm-cov/warnings.h on Windows-based platforms.
llvm/tools/llvm-cov/CodeCoverage.cpp | ||
---|---|---|
412 | Why was this line added? Looks like it broke some big deployments: https://github.com/google/oss-fuzz/issues/4608 |
llvm/tools/llvm-cov/CodeCoverage.cpp | ||
---|---|---|
412 |
llvm/tools/llvm-cov/CodeCoverage.cpp | ||
---|---|---|
412 | Thank you for the quick response! |
Why was this line added? Looks like it broke some big deployments: https://github.com/google/oss-fuzz/issues/4608