[libFuzzer] make sure we have symbols on fuzzer tests
authorKostya Serebryany <kcc@google.com>
Thu, 25 Aug 2016 23:30:02 +0000 (23:30 +0000)
committerKostya Serebryany <kcc@google.com>
Thu, 25 Aug 2016 23:30:02 +0000 (23:30 +0000)
llvm-svn: 279792

llvm/lib/Fuzzer/test/CMakeLists.txt

index 1d82408..340c5b9 100644 (file)
@@ -25,7 +25,7 @@ foreach (VARNAME ${variables_to_filter})
 endforeach()
 
 # 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>
 #   SOURCES source0.cpp [source1.cpp ...]