Skip to content

Commit

Permalink
[libFuzzer] Add a missing include_directories.
Browse files Browse the repository at this point in the history
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
  • Loading branch information
dokyungs committed Jul 23, 2020
1 parent 993c1a3 commit 4548236
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions compiler-rt/lib/fuzzer/CMakeLists.txt
Expand Up @@ -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() {
Expand Down

0 comments on commit 4548236

Please sign in to comment.