projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
36228cb
)
[CMake] Add fuzzer as a component for runtime builds
author
Chris Bieneman
<chris.bieneman@me.com>
Fri, 19 Apr 2019 20:13:25 +0000
(20:13 +0000)
committer
Chris Bieneman
<chris.bieneman@me.com>
Fri, 19 Apr 2019 20:13:25 +0000
(20:13 +0000)
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
patch
|
blob
|
history
diff --git
a/compiler-rt/lib/fuzzer/CMakeLists.txt
b/compiler-rt/lib/fuzzer/CMakeLists.txt
index aa62995e72985b4e588e4e108a731518201ea269..602f332974f9d9d0487e8cb9445e8eacbbf05ac8 100644
(file)
--- 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}