<div dir="ltr">Bob, Justin,<div><br></div><div>I've just committed a poor man's coverage implementation that works with asan. </div><div><a href="http://llvm.org/viewvc/llvm-project?rev=194701&view=rev">http://llvm.org/viewvc/llvm-project?rev=194701&view=rev</a><br>
</div><div><a href="http://llvm.org/viewvc/llvm-project?rev=194702&view=rev">http://llvm.org/viewvc/llvm-project?rev=194702&view=rev</a><br></div><div>It provides only function-level boolean coverage (i.e. no counters, just "visited or not"),</div>
<div>but is very fast and very simple (no extra sections to the binary file, etc)</div><div>I've tried it for Chrome's content_shell (huge and heavy binary) and the overhead </div><div>is negligible at both run-time and shutdown-time.</div>
<div><br></div><div>We'll be evaluating this implementation and collecting usage stats.</div><div>Maybe we want to implement something simple like this in the Clang coverage.</div><div><br></div><div>--kcc </div></div>