Description
Description
The current llvm-cov report -show-functions
command only produces text output that uses spaces to align the columns. This is great for smaller functions but it unreadable if there is even a single long function name (even mangled template function names can be long). This also produced a lot of wasted space with space chars ' ' and therefore needlessly large output.
It would be very helpful if llvm-cov report
supported -format=JSON
. Then, it would be easy to write a Python script to parse the JSON info and produce a nice Markdown table or HTML table given this data. The mangled or demangled function names could be wrapped and the table could be readable.
Workaround
The current workaround is to just parse the generated text table that is output by llvm-cov report
. That is not the end of the world.