OSDN Git Service

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 2c865a1..c53e3a3 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 9d0fcb9..8b2cfdf 100644 (file)
@@ -11,7 +11,6 @@
 //
 //===----------------------------------------------------------------------===//
 
-#include "FuzzerInterface.h"
 #include "llvm/ADT/StringRef.h"
 #include "llvm/Analysis/TargetLibraryInfo.h"
 #include "llvm/Bitcode/BitcodeReader.h"