diff options
author | Marcos Pividori <mpividori@google.com> | 2017-01-20 22:48:47 +0000 |
---|---|---|
committer | Marcos Pividori <mpividori@google.com> | 2017-01-20 22:48:47 +0000 |
commit | d41720267ed6c35ec10ff3cd58e2e70f839a47c3 (patch) | |
tree | 5f6229c63a8ec39bc7b75c77439219a89f25b446 /llvm/lib/Fuzzer/test | |
parent | b29904667f4e49aa4123b7352022f3f5fbcc6c71 (diff) | |
download | bcm5719-llvm-d41720267ed6c35ec10ff3cd58e2e70f839a47c3.tar.gz bcm5719-llvm-d41720267ed6c35ec10ff3cd58e2e70f839a47c3.zip |
[libFuzzer] Properly use compiler options supported on Windows.
Replace "-g" by "-gline-tables-only". "-g" is not supported by clang-cl.
Differential Revision: https://reviews.llvm.org/D27868
llvm-svn: 292668
Diffstat (limited to 'llvm/lib/Fuzzer/test')
-rw-r--r-- | llvm/lib/Fuzzer/test/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Fuzzer/test/CMakeLists.txt b/llvm/lib/Fuzzer/test/CMakeLists.txt index a629d1be50b..ed843139328 100644 --- a/llvm/lib/Fuzzer/test/CMakeLists.txt +++ b/llvm/lib/Fuzzer/test/CMakeLists.txt @@ -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=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 ...] |