aboutsummaryrefslogtreecommitdiff
path: root/lib/Fuzzer/test/trace-pc/CMakeLists.txt
blob: cf18278ac64b3c7ccf9c574b1b34e75898033275 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# These tests are not instrumented with coverage.

set(CMAKE_CXX_FLAGS
  "${LIBFUZZER_FLAGS_BASE} -fno-sanitize-coverage=8bit-counters -fsanitize-coverage=trace-pc")

set(TracePCTests
  FourIndependentBranchesTest
  FullCoverageSetTest
  )

foreach(Test ${TracePCTests})
  add_libfuzzer_test(${Test}-TracePC SOURCES ../${Test}.cpp)
endforeach()

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