summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Fuzzer/test/ubsan/CMakeLists.txt
blob: 55e0a118186ba8c58d8363f3946f3d23fedd7ad2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# These tests are instrumented with ubsan in non-recovery mode.

set(CMAKE_CXX_FLAGS
  "${LIBFUZZER_FLAGS_BASE} -fsanitize=undefined -fno-sanitize-recover=all")

set(UbsanTests
  SignedIntOverflowTest
  )

foreach(Test ${UbsanTests})
  add_libfuzzer_test(${Test}-Ubsan SOURCES ../${Test}.cpp)
endforeach()
OpenPOWER on IntegriCloud