<div dir="ltr"><div><p id="yui_3_16_0_1_1457124193068_1874"><span id="yui_3_16_0_1_1457124193068_1873" style="color:rgb(31,73,125)">Hi All,</span></p><p><span style="color:rgb(31,73,125)">I want to provide a solution that presents code coverage reports that include the aggregated code-counts  across many binaries.  Our test engineers currently do this using gcov-mode by merged .gcda data files. We can do a similar merge of the .profraw files, so that the many binaries are represented in one .profdata file; However, llvm-cov will only generate reports based on one binary at a time. </span></p><p id="yui_3_16_0_1_1457124193068_1867"><span id="yui_3_16_0_1_1457124193068_1866" style="color:rgb(31,73,125)">My suggested solution to this problem is for llvm-cov to accept multiple binary files on the command line. Thereby allowing every coverage-count / source file (that is compiled into at least one binary) to be represented in the report from a single call to llvm-cov.  Presently the command format is: llvm-cov show [options] <executable | object file> <Source files>.  I suggest adding the option "-bin=<executable | object file>" so that more than one binary (or object file) can be listed as: -bin=binary1.elf -bin=binary2.elf -bin=binary3.elf.</span></p><p><span id="yui_3_16_0_1_1457124193068_1882" style="color:rgb(31,73,125)">I would like people’s opinions first so that may be acceptable when I come to upstream this.</span></p><p><span style="color:rgb(31,73,125)">Thanks</span></p><span style="color:rgb(31,73,125)"></span></div><p><br>-- <br></p><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><font size="2"><span style="font-family:arial,helvetica,sans-serif">Ying Yi</span><span style="font-family:arial,helvetica,sans-serif"><br>SN Systems Ltd - Sony Computer Entertainment Group.</span><span style="font-family:arial,helvetica,sans-serif"></span></font><br></div></div></div></div></div></div>
</div>