llvm/tools/llvm-dwarfdump/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

14 lines
187 B
CMake

set(LLVM_LINK_COMPONENTS
DebugInfoDWARF
Object
Support
)
add_llvm_tool(llvm-dwarfdump
llvm-dwarfdump.cpp
)
if(LLVM_USE_SANITIZE_COVERAGE)
add_subdirectory(fuzzer)
endif()