This is an archive of the discontinued LLVM Phabricator instance.

[Driver] Consider -fno-sanitize=... state when filtering out -fsanitize-coverage=...
ClosedPublic

Authored by mcgrathr on Jul 18 2017, 7:16 PM.

Details

Summary

The driver ignores -fsanitize-coverage=... flags when also given
-fsanitize=... flags for sanitizer flavors that don't support the
coverage runtime. This logic failed to account for subsequent
-fno-sanitize=... flags that disable the sanitizer flavors that
conflict with -fsanitize-coverage=... flags.

Diff Detail

Repository
rL LLVM

Event Timeline

mcgrathr created this revision.Jul 18 2017, 7:16 PM
phosek accepted this revision.Jul 19 2017, 11:03 PM

LGTM

This revision is now accepted and ready to land.Jul 19 2017, 11:03 PM
This revision was automatically updated to reflect the committed changes.