1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 19:23:23 +01:00
llvm-mirror/tools/llvm-mc-assemble-fuzzer/CMakeLists.txt
Brian Cain bcfe1c3171 llvm-mc-fuzzer: add support for assembly
This creates an llvm-mc-disassemble-fuzzer from the existing llvm-mc-fuzzer
and finishing the assemble support in llvm-mc-assemble-fuzzer.

llvm-svn: 296323
2017-02-27 06:22:17 +00:00

20 lines
488 B
CMake

if( LLVM_USE_SANITIZE_COVERAGE )
include_directories(BEFORE
${CMAKE_CURRENT_SOURCE_DIR}/../../lib/Fuzzer)
set(LLVM_LINK_COMPONENTS
AllTargetsAsmPrinters
AllTargetsAsmParsers
AllTargetsDescs
AllTargetsInfos
MC
MCParser
Support
)
add_llvm_tool(llvm-mc-assemble-fuzzer
llvm-mc-assemble-fuzzer.cpp)
target_link_libraries(llvm-mc-assemble-fuzzer
LLVMFuzzer
)
endif()