[llvm] r279792 - [libFuzzer] make sure we have symbols on fuzzer tests

Kostya Serebryany via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 25 16:30:02 PDT 2016


Author: kcc
Date: Thu Aug 25 18:30:02 2016
New Revision: 279792

URL: http://llvm.org/viewvc/llvm-project?rev=279792&view=rev
Log:
[libFuzzer] make sure we have symbols on fuzzer tests

Modified:
    llvm/trunk/lib/Fuzzer/test/CMakeLists.txt

Modified: llvm/trunk/lib/Fuzzer/test/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Fuzzer/test/CMakeLists.txt?rev=279792&r1=279791&r2=279792&view=diff
==============================================================================
--- llvm/trunk/lib/Fuzzer/test/CMakeLists.txt (original)
+++ llvm/trunk/lib/Fuzzer/test/CMakeLists.txt Thu Aug 25 18:30:02 2016
@@ -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 ...]




More information about the llvm-commits mailing list