Displaying 2 results from an estimated 2 matches for "gatherskippedregions".
2018 Feb 01
1
Customizing SBCC for lcov workflows
I’m working to implement Source Based Code Coverage in a workflow that uses lcov for report generation. We’ve customized our llvm-cov to add a command to convert the SBCC counter data to lcov’s ‘.info’ format. The problem is that the region-based counter definitions in SBCC can span source code regions that can contain blank lines (or lines with only comments). Converting this to lcov’s
2018 Feb 03
2
llvm-dev Digest, Vol 164, Issue 6
...take advantage of the new information
> in llvm-cov while generating the lcov .info files.
>
> This sounds like a reasonable plan -- I don't think it needs to be an
> opt-in behavior. Once you've built up the list of source ranges that should
> be skipped you can feed it into gatherSkippedRegions(). I anticipate that
> most of the work will be in updating test cases in clang and compiler-rt.
>
>
> > I’d like to eventually push this change upstream (I can’t be the only
> one wanting to use lcov and SBCC together), so I’m seeking feedback before
> I invest too much time i...