summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Fuzzer/test/uninstrumented/CMakeLists.txt
blob: 06e48985e7efbab3ba2ec45993494ffd22023957 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# These tests are not instrumented with coverage and don't
# have coverage rt in the binary.

set(CMAKE_CXX_FLAGS
  "${LIBFUZZER_FLAGS_BASE} -fno-sanitize=all -fno-sanitize-coverage=edge,trace-cmp,indirect-calls,8bit-counters")

set(UninstrumentedTests
  UninstrumentedTest
  )

foreach(Test ${UninstrumentedTests})
  add_libfuzzer_test(${Test}-Uninstrumented SOURCES ../${Test}.cpp)
endforeach()

# Propagate value into parent directory
set(TestBinaries ${TestBinaries} PARENT_SCOPE)
OpenPOWER on IntegriCloud