[PATCH] D66494: [GWP-ASan] Build stack_trace_compressor_fuzzer.
    Vitaly Buka via Phabricator via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Fri Aug 23 18:11:07 PDT 2019
    
    
  
vitalybuka added inline comments.
================
Comment at: compiler-rt/trunk/lib/gwp_asan/CMakeLists.txt:104
+  if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang" AND
+      COMPILER_RT_BUILD_LIBFUZZER)
+    add_executable(stack_trace_compressor_fuzzer
----------------
vitalybuka wrote:
> We should not build these fuzzers if host compiler has no libFuzzer.
maybe do the same as clang/tools/clang-format/CMakeLists.txt
```
if( LLVM_LIB_FUZZING_ENGINE OR LLVM_USE_SANITIZE_COVERAGE )
```
Repository:
  rL LLVM
CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D66494/new/
https://reviews.llvm.org/D66494
    
    
More information about the llvm-commits
mailing list