Make llvm-profdata and llvm-cov tools available for the current clang version |
||
Issue descriptionllvm-profdata and llvm-cov are LLVM tools for code coverage. Locally, I have them accessible via Xcode and `xcrun llvm-profdata` and `xcrun llvm-cov`, but they are dependent on the version of clang used to build the instrumented binary. Since we ship our own build of clang, which is always forward Xcode's, the Xcode tool can never read the coverage profraw file. To that end, I would like to have a way to get to a build of llvm-profdata and llvm-cov for the revision of clang used in Chromium. How can we make this available?
,
Feb 21 2017
I think that second approach makes much sense. The script can then be an action in GN that runs only when a particular args is set, do I understand correctly?
,
Apr 20 2017
Actually, Xcode's versions seem to work (at least for the time being) with our clang. Documentation at https://codereview.chromium.org/2789433004/. |
||
►
Sign in to add a comment |
||
Comment 1 by thakis@chromium.org
, Feb 21 2017