blob: 371a21c113dcbc39f5b7bbda9272ff5c95ae7727 [file] [log] [blame]
if (MSVC)
set_source_files_properties(PassBuilder.cpp PROPERTIES COMPILE_FLAGS /bigobj)
endif()
add_llvm_component_library(LLVMPasses
PassBuilder.cpp
PassPlugin.cpp
StandardInstrumentations.cpp
ADDITIONAL_HEADER_DIRS
${LLVM_MAIN_INCLUDE_DIR}/llvm
${LLVM_MAIN_INCLUDE_DIR}/llvm/Passes
DEPENDS
intrinsics_gen
)