summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/fuzzer
diff options
context:
space:
mode:
authorChris Bieneman <chris.bieneman@me.com>2019-04-19 20:13:25 +0000
committerChris Bieneman <chris.bieneman@me.com>2019-04-19 20:13:25 +0000
commit2436237895b70ed44cf256f67eb2f74e147eb559 (patch)
tree090bbff3daa4a539ccb8f6f38597f1bd427bbd23 /compiler-rt/lib/fuzzer
parent36228cb63fd5e9ca5d4686b73e1a40b887db1c14 (diff)
downloadbcm5719-llvm-2436237895b70ed44cf256f67eb2f74e147eb559.tar.gz
bcm5719-llvm-2436237895b70ed44cf256f67eb2f74e147eb559.zip
[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
Diffstat (limited to 'compiler-rt/lib/fuzzer')
-rw-r--r--compiler-rt/lib/fuzzer/CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler-rt/lib/fuzzer/CMakeLists.txt b/compiler-rt/lib/fuzzer/CMakeLists.txt
index aa62995e729..602f332974f 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}
OpenPOWER on IntegriCloud