[libFuzzer] NFC Declare LIBFUZZER_FLAGS_BASE outside of an if-block
authorGeorge Karpenkov <ekarpenkov@apple.com>
Wed, 12 Jul 2017 18:16:09 +0000 (18:16 +0000)
committerGeorge Karpenkov <ekarpenkov@apple.com>
Wed, 12 Jul 2017 18:16:09 +0000 (18:16 +0000)
commitcf26a86601ec358e56f220d908e25c36fc953bb6
tree88fc38b7039aeaa64febdb84e3aa3017132f9636
parent6eab75fbb0f870262544eaca7db4931156d733a5
[libFuzzer] NFC Declare LIBFUZZER_FLAGS_BASE outside of an if-block

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.

Differential Revision: https://reviews.llvm.org/D35314

llvm-svn: 307825
llvm/lib/Fuzzer/CMakeLists.txt