]> granicus.if.org Git - clang/commit
[clang-fuzzer] Allow building without coverage instrumentation.
authorMatt Morehouse <mascasa@google.com>
Tue, 10 Oct 2017 17:41:43 +0000 (17:41 +0000)
committerMatt Morehouse <mascasa@google.com>
Tue, 10 Oct 2017 17:41:43 +0000 (17:41 +0000)
commitc3893ecadc67a73263c5501c6215839a8c258735
treef3967ee0560bbb6723dd8c7fb13cc1f241ec2bf9
parenta92cdd5042367c446fbbd2b5453e7a01ef71c737
[clang-fuzzer] Allow building without coverage instrumentation.

Summary:
Compile with DummyClangFuzzer.cpp as entry point rather than
libFuzzer's main when coverage instrumentation is missing.

https://llvm.org/pr34314

Reviewers: kcc, bogner, vitalybuka

Reviewed By: vitalybuka

Subscribers: cfe-commits, mgorny

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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@315336 91177308-0d34-0410-b5e6-96231b3b80d8
tools/clang-fuzzer/CMakeLists.txt
tools/clang-fuzzer/ClangFuzzer.cpp
tools/clang-fuzzer/DummyClangFuzzer.cpp [new file with mode: 0644]