[PATCH] D66494: [GWP-ASan] Build stack_trace_compressor_fuzzer.
Mitch Phillips via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 21 10:54:35 PDT 2019
This revision was automatically updated to reflect the committed changes.
Closed by commit rL369551: [GWP-ASan] Build stack_trace_compressor_fuzzer. (authored by hctim, committed by ).
Herald added a subscriber: delcypher.
Changed prior to commit:
https://reviews.llvm.org/D66494?vs=216300&id=216430#toc
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D66494/new/
https://reviews.llvm.org/D66494
Files:
compiler-rt/trunk/lib/gwp_asan/CMakeLists.txt
Index: compiler-rt/trunk/lib/gwp_asan/CMakeLists.txt
===================================================================
--- compiler-rt/trunk/lib/gwp_asan/CMakeLists.txt
+++ compiler-rt/trunk/lib/gwp_asan/CMakeLists.txt
@@ -100,23 +100,21 @@
CFLAGS ${GWP_ASAN_CFLAGS} ${SANITIZER_COMMON_CFLAGS})
# Build the stack trace compressor fuzzer.
- # Currently commented out in order to give me some time to figure out what the
- # issue is. Rolling back would require rolling back 5 CL's, so this should be
- # okay until I can get to a real computer and actually fix it tomorrow.
- # - hctim
- #if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang")
- # add_executable(stack_trace_compressor_fuzzer
- # stack_trace_compressor_fuzzer.cpp
- # ${GWP_ASAN_SOURCES}
- # ${GWP_ASAN_HEADERS})
- # set_target_properties(stack_trace_compressor_fuzzer
- # PROPERTIES FOLDER "Fuzzers")
- # target_compile_options(stack_trace_compressor_fuzzer
- # PRIVATE -fsanitize=fuzzer-no-link)
- # set_target_properties(
- # stack_trace_compressor_fuzzer PROPERTIES LINK_FLAGS -fsanitize=fuzzer)
- # add_dependencies(gwp_asan stack_trace_compressor_fuzzer)
- #endif()
+ if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang" AND
+ COMPILER_RT_BUILD_LIBFUZZER)
+ add_executable(stack_trace_compressor_fuzzer
+ stack_trace_compressor_fuzzer.cpp
+ ${GWP_ASAN_SOURCES}
+ ${GWP_ASAN_HEADERS})
+ set_target_properties(
+ stack_trace_compressor_fuzzer PROPERTIES FOLDER "Fuzzers")
+ target_compile_options(
+ stack_trace_compressor_fuzzer PRIVATE -fsanitize=fuzzer-no-link)
+ set_target_properties(
+ stack_trace_compressor_fuzzer PROPERTIES LINK_FLAGS -fsanitize=fuzzer)
+ add_dependencies(stack_trace_compressor_fuzzer fuzzer)
+ add_dependencies(gwp_asan stack_trace_compressor_fuzzer)
+ endif()
endif()
if(COMPILER_RT_INCLUDE_TESTS)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D66494.216430.patch
Type: text/x-patch
Size: 1911 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190821/8872fe26/attachment.bin>
More information about the llvm-commits
mailing list