mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 03:33:20 +01:00
11f68ee5a0
Summary: Only the disassembler is supported in this patch but it has already found a few issues in the Mips disassembler (mostly invalid instructions being successfully disassembled). Reviewers: kcc Subscribers: russell.gallop, silvas, kcc, llvm-commits Differential Revision: http://reviews.llvm.org/D12723 llvm-svn: 247786
19 lines
448 B
CMake
19 lines
448 B
CMake
if( LLVM_USE_SANITIZE_COVERAGE )
|
|
include_directories(BEFORE
|
|
${CMAKE_CURRENT_SOURCE_DIR}/../../lib/Fuzzer)
|
|
|
|
set(LLVM_LINK_COMPONENTS
|
|
AllTargetsDescs
|
|
AllTargetsDisassemblers
|
|
AllTargetsInfos
|
|
MC
|
|
MCDisassembler
|
|
Support
|
|
)
|
|
add_llvm_tool(llvm-mc-fuzzer
|
|
llvm-mc-fuzzer.cpp)
|
|
target_link_libraries(llvm-mc-fuzzer
|
|
LLVMFuzzerNoMain
|
|
)
|
|
endif()
|