1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-01-31 12:41:49 +01:00
2017-08-23 00:40:58 +00:00

17 lines
391 B
CMake

if( LLVM_USE_SANITIZE_COVERAGE )
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fsanitize=fuzzer")
set(LLVM_LINK_COMPONENTS
AllTargetsAsmPrinters
AllTargetsDescs
AllTargetsDisassemblers
AllTargetsInfos
MC
MCDisassembler
MCParser
Support
)
add_llvm_tool(llvm-mc-disassemble-fuzzer
llvm-mc-disassemble-fuzzer.cpp)
endif()