[PATCH] D27868: [libFuzzer] Diff 23 - Properly use compiler options supported on Windows.

Marcos Pividori via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 28 09:40:10 PST 2016


mpividori updated the summary for this revision.
mpividori updated this revision to Diff 82607.

Repository:
  rL LLVM

https://reviews.llvm.org/D27868

Files:
  lib/Fuzzer/test/CMakeLists.txt


Index: lib/Fuzzer/test/CMakeLists.txt
===================================================================
--- lib/Fuzzer/test/CMakeLists.txt
+++ lib/Fuzzer/test/CMakeLists.txt
@@ -25,7 +25,7 @@
 endforeach()
 
 # Enable the coverage instrumentation (it is disabled for the Fuzzer lib).
-set(CMAKE_CXX_FLAGS "${LIBFUZZER_FLAGS_BASE} -fsanitize-coverage=trace-pc-guard,indirect-calls,trace-cmp,trace-div,trace-gep -g")
+set(CMAKE_CXX_FLAGS "${LIBFUZZER_FLAGS_BASE} -fsanitize-coverage=trace-pc-guard,indirect-calls,trace-cmp,trace-div,trace-gep -gline-tables-only")
 
 # add_libfuzzer_test(<name>
 #   SOURCES source0.cpp [source1.cpp ...]


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D27868.82607.patch
Type: text/x-patch
Size: 638 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161228/d7f7e7ea/attachment.bin>


More information about the llvm-commits mailing list