3 ms·
How's LLVM's code coverage performance? Starting with GCC 9, you can stream gcov straight to stdout in json format, which allowed me to write a multi-core cove
by umvi 7y ago
How's LLVM's code coverage performance?
Starting with GCC 9, you can stream gcov straight to stdout in json format, which allowed me to write a multi-core coverage aggregation/analysis tool[1] to replace lcov (and is over 100x faster than lcov, in my case - ymmv):
[1] https://github.com/RPGillespie6/fastcov https://github.com/RPGillespie6/fastcov
- touisteur 7y agoAaaah if only I could do this to a runtime defined fd or pipe... Live coverage information! Have to use Intel PT for this but sometimes feels like a big hammer :-)