Issue 135195
Summary [llvm-cov] llvm-cov report' should provide option to produce JSON output
Labels new issue
Assignees
Reporter bartlettroscoe
    ## 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.

_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to