[Webkit-unassigned] [Bug 206389] It should be possible to build JavaScriptCore with LLVM Source-based Code Coverage, run the tests and see the coverage data
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Jan 16 17:35:12 PST 2020
https://bugs.webkit.org/show_bug.cgi?id=206389
Tuomas Karkkainen <tuomas.webkit at apple.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #387995| |review?
Flags| |
--- Comment #1 from Tuomas Karkkainen <tuomas.webkit at apple.com> ---
Created attachment 387995
--> https://bugs.webkit.org/attachment.cgi?id=387995&action=review
proposed patch
initial proposal for the patch.
start with e.g.:
> Tools/Scripts/set-webkit-configuration --force-optimization-level=O3 --debug --no-asan --coverage
then:
> Tools/Scripts/run-javascriptcore-tests --debug --no-build --coverage
Known limitations:
* CMake build is not supported.
* ASAN and coverage cannot be enabled at the same time. This isn't an inherent limitation, just a limitation of the current build scripts.
Reference for LLVM Source-based Code Coverage:
https://clang.llvm.org/docs/SourceBasedCodeCoverage.html
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20200117/1683a552/attachment-0001.htm>
More information about the webkit-unassigned
mailing list