This is an archive of the discontinued LLVM Phabricator instance.

[libFuzzer CMake] NFC Declare LIBFUZZER_FLAGS_BASE outside of an if-block
ClosedPublic

Authored by george.karpenkov on Jul 12 2017, 10:57 AM.

Details

Summary

The current code relies on the assumption that tests are included only if LLVM_USE_SANITIZE_COVERAGE is enabled.
This commit makes it easier to relax the assumption in the future, as the variable LIBFUZZER_FLAGS_BASE is used further in libFuzzer tests CMakeLists.txt.

Diff Detail

Repository
rL LLVM

Event Timeline

kcc accepted this revision.Jul 12 2017, 11:01 AM

LGTM

This revision is now accepted and ready to land.Jul 12 2017, 11:01 AM
This revision was automatically updated to reflect the committed changes.