From 2436237895b70ed44cf256f67eb2f74e147eb559 Mon Sep 17 00:00:00 2001 From: Chris Bieneman Date: Fri, 19 Apr 2019 20:13:25 +0000 Subject: [PATCH] [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`. llvm-svn: 358780 --- compiler-rt/lib/fuzzer/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/compiler-rt/lib/fuzzer/CMakeLists.txt b/compiler-rt/lib/fuzzer/CMakeLists.txt index aa62995e7298..602f332974f9 100644 --- a/compiler-rt/lib/fuzzer/CMakeLists.txt +++ b/compiler-rt/lib/fuzzer/CMakeLists.txt @@ -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} -- 2.34.1