]> granicus.if.org Git - llvm/commitdiff
llvm-isel-fuzzer: Stop including FuzzerInterface.h
authorJustin Bogner <mail@justinbogner.com>
Thu, 31 Aug 2017 00:01:28 +0000 (00:01 +0000)
committerJustin Bogner <mail@justinbogner.com>
Thu, 31 Aug 2017 00:01:28 +0000 (00:01 +0000)
All this does is forward declare the interface functions (and make
sure that they're `extern "C"`), but since we're using libFuzzer from
the toolchain it doesn't make sense to include the local copy of the
interface.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@312195 91177308-0d34-0410-b5e6-96231b3b80d8

tools/llvm-isel-fuzzer/CMakeLists.txt
tools/llvm-isel-fuzzer/llvm-isel-fuzzer.cpp

index 2c865a1fcc60a5e877f4e7a4f1ff7502856aeb10..c53e3a381ee4e3bb0f5a1682c7e08cb2a14b74a0 100644 (file)
@@ -1,6 +1,4 @@
 if( LLVM_USE_SANITIZE_COVERAGE )
-  include_directories(BEFORE
-    ${CMAKE_CURRENT_SOURCE_DIR}/../../lib/Fuzzer)
 
   set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fsanitize=fuzzer")
   set(LLVM_LINK_COMPONENTS
index 9d0fcb940f5bf756a4e0d26bd7b4035b24b427bc..8b2cfdfa7d28784ed240ec95aa90614f5f779b0e 100644 (file)
@@ -11,7 +11,6 @@
 //
 //===----------------------------------------------------------------------===//
 
-#include "FuzzerInterface.h"
 #include "llvm/ADT/StringRef.h"
 #include "llvm/Analysis/TargetLibraryInfo.h"
 #include "llvm/Bitcode/BitcodeReader.h"