summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Fuzzer/test/dfsan/CMakeLists.txt
blob: 2b49831fcdb85208f2fb8fc6b831b5b81b449f51 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# These tests depend on both coverage and dfsan instrumentation.

set(CMAKE_CXX_FLAGS_RELEASE
  "${LIBFUZZER_FLAGS_BASE} -O0 -fno-sanitize=all -fsanitize=dataflow")

foreach(Test ${DFSanTests})
  add_executable(LLVMFuzzer-${Test}-DFSan
    ../${Test}.cpp
    )
  target_link_libraries(LLVMFuzzer-${Test}-DFSan
    LLVMFuzzer
    )
endforeach()

OpenPOWER on IntegriCloud