[compiler-rt] 4548236 - [libFuzzer] Add a missing include_directories.

Dokyung Song via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 23 16:53:12 PDT 2020


Author: Dokyung Song
Date: 2020-07-23T23:52:00Z
New Revision: 45482367eaf3e7aa6e00b667bf83ce700b390918

URL: https://github.com/llvm/llvm-project/commit/45482367eaf3e7aa6e00b667bf83ce700b390918
DIFF: https://github.com/llvm/llvm-project/commit/45482367eaf3e7aa6e00b667bf83ce700b390918.diff

LOG: [libFuzzer] Add a missing include_directories.

Summary: FuzzerInterceptors.cpp includes <sanitizer/common_interface_defs.h>, and this patch adds a missing include_directories to make sure the included file is found.

Reviewers: morehouse, hctim, dmajor

Subscribers: mgorny, #sanitizers

Tags: #sanitizers

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

Added: 
    

Modified: 
    compiler-rt/lib/fuzzer/CMakeLists.txt

Removed: 
    


################################################################################
diff  --git a/compiler-rt/lib/fuzzer/CMakeLists.txt b/compiler-rt/lib/fuzzer/CMakeLists.txt
index 02be89cb70a5..b98c27145687 100644
--- a/compiler-rt/lib/fuzzer/CMakeLists.txt
+++ b/compiler-rt/lib/fuzzer/CMakeLists.txt
@@ -46,6 +46,8 @@ set(LIBFUZZER_HEADERS
   FuzzerUtil.h
   FuzzerValueBitMap.h)
 
+include_directories(../../include)
+
 CHECK_CXX_SOURCE_COMPILES("
   static thread_local int blah;
   int main() {


        


More information about the llvm-commits mailing list