]> granicus.if.org Git - llvm/commit
[utils] Teach the code coverage prep script about --restrict
authorVedant Kumar <vsk@apple.com>
Thu, 22 Sep 2016 21:49:49 +0000 (21:49 +0000)
committerVedant Kumar <vsk@apple.com>
Thu, 22 Sep 2016 21:49:49 +0000 (21:49 +0000)
commitc2ac1a71c30ebbbe75f09e1537ae02df9da6d0d3
treef0def0f7eee784860d79291dc7ac79d8d8d87a22
parentae0e243fb0e2258b96cc5d4fd8232f9014fbe358
[utils] Teach the code coverage prep script about --restrict

Add two options to the code coverage artifact prep script:

  * --use-existing-profdata: Use an existing indexed profile instead of
    merging the same profiles again.
  * --restrict: Restrict the coverage reporting to the given list of
    source directories.

With this in place, we can teach the coverage bot how to prepare
separate reports for each of the llvm tools.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@282204 91177308-0d34-0410-b5e6-96231b3b80d8
utils/prepare-code-coverage-artifact.py