llvm-6502/tools/llvm-dwarfdump/fuzzer/CMakeLists.txt
Alexey Samsonov ef1de3295a 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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@238451 91177308-0d34-0410-b5e6-96231b3b80d8
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
)