1if( LLVM_USE_SANITIZE_COVERAGE ) 2 include_directories(BEFORE 3 ${CMAKE_CURRENT_SOURCE_DIR}/../../lib/Fuzzer) 4 5 set(LLVM_LINK_COMPONENTS 6 AllTargetsDescs 7 AllTargetsDisassemblers 8 AllTargetsInfos 9 MC 10 MCDisassembler 11 Support 12 ) 13 add_llvm_tool(llvm-mc-fuzzer 14 llvm-mc-fuzzer.cpp) 15 target_link_libraries(llvm-mc-fuzzer 16 LLVMFuzzer 17 ) 18endif() 19