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

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()