This is an archive of the discontinued LLVM Phabricator instance.

Always compile libFuzzer with no coverage
ClosedPublic

Authored by george.karpenkov on Aug 18 2017, 11:28 AM.

Details

Summary

Do not compile libFuzzer itself with coverage, regardless of LLVM variables

Diff Detail

Repository
rL LLVM

Event Timeline

kcc edited edge metadata.Aug 19 2017, 6:35 PM

-fsanitize-coverage=0 maybe?

Updated to make GCC-compatible.
@kcc: is that sufficient? The simplification is orthogonal to this patch though.

kcc added a comment.Aug 21 2017, 12:30 PM

-fsanitize-coverage=0 should be sufficient.
An explicit list may not be sufficient

kcc accepted this revision.Aug 21 2017, 1:05 PM

LGTM

This revision is now accepted and ready to land.Aug 21 2017, 1:05 PM
This revision was automatically updated to reflect the committed changes.