#===------------------------------------------------------------------------===# # # The KLEE Symbolic Virtual Machine # # This file is distributed under the University of Illinois Open Source # License. See LICENSE.TXT for details. # #===------------------------------------------------------------------------===# set(KLEE_MODULE_COMPONENT_SRCS Checks.cpp InstructionInfoTable.cpp InstructionOperandTypeCheckPass.cpp IntrinsicCleaner.cpp KInstruction.cpp KModule.cpp LowerSwitch.cpp ModuleUtil.cpp Optimize.cpp OptNone.cpp PhiCleaner.cpp RaiseAsm.cpp ) if (USE_WORKAROUND_LLVM_PR39177) list(APPEND KLEE_MODULE_COMPONENT_SRCS WorkaroundLLVMPR39177.cpp) endif() klee_add_component(kleeModule ${KLEE_MODULE_COMPONENT_SRCS} ) set(LLVM_COMPONENTS bitreader bitwriter codegen ipo irreader linker support ) klee_get_llvm_libs(LLVM_LIBS ${LLVM_COMPONENTS}) target_link_libraries(kleeModule PUBLIC ${LLVM_LIBS}) target_link_libraries(kleeModule PRIVATE kleeSupport )