1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 03:02:36 +01:00
llvm-mirror/tools/llvm-dwarfdump/fuzzer/CMakeLists.txt
Alexey Samsonov e17631f909 Add llvm-dwarfdump-fuzzer that uses LibFuzzer to fuzz llvm-dwarfdump tool.
The fuzzer is very simple, but not quite useful at the moment: it's unable
to discover "interesting" examples, as LLVMObject library is terrible at
error recovery, calling "report_fatal_error()" far too often.

llvm-svn: 238451
2015-05-28 18:35:18 +00:00

15 lines
221 B
CMake

set(LLVM_LINK_COMPONENTS
DebugInfoDWARF
Object
Support
)
add_llvm_executable(llvm-dwarfdump-fuzzer
EXCLUDE_FROM_ALL
llvm-dwarfdump-fuzzer.cpp
)
target_link_libraries(llvm-dwarfdump-fuzzer
LLVMFuzzer
)