mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-09 13:41:47 +00:00
5369e0fdbe
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 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@247786 91177308-0d34-0410-b5e6-96231b3b80d8
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()
|