[compiler-rt] r358780 - [CMake] Add fuzzer as a component for runtime builds

Chris Bieneman via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 19 13:13:25 PDT 2019


Author: cbieneman
Date: Fri Apr 19 13:13:25 2019
New Revision: 358780

URL: http://llvm.org/viewvc/llvm-project?rev=358780&view=rev
Log:
[CMake] Add fuzzer as a component for runtime builds

Calling `add_compiler_rt_component` sets up the component connection between runtime builds and the parent CMake configuration. Adding this call allows specifying `fuzzer` as a `LLVM_RUNTIME_DISTRIBUTION_COMPONENT`.

Modified:
    compiler-rt/trunk/lib/fuzzer/CMakeLists.txt

Modified: compiler-rt/trunk/lib/fuzzer/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/fuzzer/CMakeLists.txt?rev=358780&r1=358779&r2=358780&view=diff
==============================================================================
--- compiler-rt/trunk/lib/fuzzer/CMakeLists.txt (original)
+++ compiler-rt/trunk/lib/fuzzer/CMakeLists.txt Fri Apr 19 13:13:25 2019
@@ -84,6 +84,8 @@ endif()
 
 set(FUZZER_SUPPORTED_OS ${SANITIZER_COMMON_SUPPORTED_OS})
 
+add_compiler_rt_component(fuzzer)
+
 add_compiler_rt_object_libraries(RTfuzzer
   OS ${FUZZER_SUPPORTED_OS}
   ARCHS ${FUZZER_SUPPORTED_ARCH}




More information about the llvm-commits mailing list