1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 18:54:02 +01:00

[libFuzzer] make sure we have symbols on fuzzer tests

llvm-svn: 279792
This commit is contained in:
Kostya Serebryany 2016-08-25 23:30:02 +00:00
parent 0f3d6c7984
commit d4cdf49632

View File

@ -25,7 +25,7 @@ foreach (VARNAME ${variables_to_filter})
endforeach() endforeach()
# Enable the coverage instrumentation (it is disabled for the Fuzzer lib). # Enable the coverage instrumentation (it is disabled for the Fuzzer lib).
set(CMAKE_CXX_FLAGS "${LIBFUZZER_FLAGS_BASE} -fsanitize-coverage=edge,indirect-calls") set(CMAKE_CXX_FLAGS "${LIBFUZZER_FLAGS_BASE} -fsanitize-coverage=edge,indirect-calls -g")
# add_libfuzzer_test(<name> # add_libfuzzer_test(<name>
# SOURCES source0.cpp [source1.cpp ...] # SOURCES source0.cpp [source1.cpp ...]