This is an archive of the discontinued LLVM Phabricator instance.

[clang] [Driver] Add .hasAnySanitizer() to SanitizerArgs
ClosedPublic

Authored by mgorny on Dec 18 2018, 9:09 AM.

Details

Summary

Add a simple method to query whether any sanitizer was enabled,
via SanitizerArgs. This will be used in the NetBSD driver to pass
additional definitions that are required by all sanitizers.

Diff Detail

Repository
rL LLVM

Event Timeline

vitalybuka accepted this revision.Dec 19 2018, 12:57 AM
This revision is now accepted and ready to land.Dec 19 2018, 12:57 AM
krytarowski accepted this revision.Dec 19 2018, 2:16 AM
This revision was automatically updated to reflect the committed changes.