[PATCH] D105139: [llvm-cov] Allow multiple remaps in --path-equivalence

Tomas Camin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Aug 14 12:43:12 PDT 2021


tcamin added a comment.

In D105139#2871524 <https://reviews.llvm.org/D105139#2871524>, @vsk wrote:

> In D105139#2856196 <https://reviews.llvm.org/D105139#2856196>, @tcamin wrote:
>
>> Hi,
>>
>> Thanks for taking a look at this.
>>
>> Our application is split into different modules which get built as separate libraries. These libraries are prebuilt and are shared among our devs as a build cache to reduce compilation times. These libraries do not necessarily share a single map between build path and source code location and therefore we’re unable to get coverage data out all of them.
>>
>> Our requirement is being able to extract coverage data when running integration tests.
>
> Thanks for explaining. Would it be practical to invoke llvm-cov multiple times (once per {library, path-remap} pair)? Is the issue with this that you would have separate reports per library?

Sorry for the very late update. As far as I understood running llvm-cov multiple times would not work for us. We are trying to extract coverage from UI tests (integration tests) which are run on our iOS application. At compile time the app, to improve build times, is linked against prebuilt frameworks of our modules. We need to extract a single coverage result which covers all the source code of our app along with the source code of our separate prebuilt modules. Hope this makes sense.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D105139/new/

https://reviews.llvm.org/D105139



More information about the llvm-commits mailing list