From 38a8d04490cd0362908cc9151619047428d2dc82 Mon Sep 17 00:00:00 2001 From: Justin Bogner Date: Thu, 31 Aug 2017 00:01:28 +0000 Subject: [PATCH] llvm-isel-fuzzer: Stop including FuzzerInterface.h 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 | 2 -- tools/llvm-isel-fuzzer/llvm-isel-fuzzer.cpp | 1 - 2 files changed, 3 deletions(-) diff --git a/tools/llvm-isel-fuzzer/CMakeLists.txt b/tools/llvm-isel-fuzzer/CMakeLists.txt index 2c865a1fcc6..c53e3a381ee 100644 --- a/tools/llvm-isel-fuzzer/CMakeLists.txt +++ b/tools/llvm-isel-fuzzer/CMakeLists.txt @@ -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 diff --git a/tools/llvm-isel-fuzzer/llvm-isel-fuzzer.cpp b/tools/llvm-isel-fuzzer/llvm-isel-fuzzer.cpp index 9d0fcb940f5..8b2cfdfa7d2 100644 --- a/tools/llvm-isel-fuzzer/llvm-isel-fuzzer.cpp +++ b/tools/llvm-isel-fuzzer/llvm-isel-fuzzer.cpp @@ -11,7 +11,6 @@ // //===----------------------------------------------------------------------===// -#include "FuzzerInterface.h" #include "llvm/ADT/StringRef.h" #include "llvm/Analysis/TargetLibraryInfo.h" #include "llvm/Bitcode/BitcodeReader.h" -- 2.50.1