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

Kostya Serebryany via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 16 16:18:11 PST 2016


kcc added inline comments.


================
Comment at: lib/Fuzzer/test/CMakeLists.txt:37
+  set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -g")
+else()
+  set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /Zi")
----------------
zturner wrote:
> kcc wrote:
> > hmmm. What is the 'else' compiler? 
> clang-cl I imagine, but /Z7 is more correct than /Zi.  To make the else clear, you could say `elseif(CLANG_CL)`
Does clang-cl not support -g? 


Repository:
  rL LLVM

https://reviews.llvm.org/D27868





More information about the llvm-commits mailing list