mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 12:41:49 +01:00
e4d95d0f5e
Differential Revision: https://reviews.llvm.org/D37041 llvm-svn: 311515
17 lines
391 B
CMake
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()
|