llvm-project/llvm/tools/llvm-as-fuzzer/CMakeLists.txt

13 lines
263 B
CMake
Raw Normal View History

if( LLVM_USE_SANITIZE_COVERAGE )
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fsanitize=fuzzer")
set(LLVM_LINK_COMPONENTS
AsmParser
BitWriter
Core
Support
)
add_llvm_tool(llvm-as-fuzzer
llvm-as-fuzzer.cpp)
endif()