mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-21 21:11:36 +00:00

This breaks LLVMExports.cmake in some build configurations. PR44197 This reverts commits ceb72d07b004af9c428c4a3c73a98ea97d49a713 7d0b1d77b3d4d47df477519fd1bf099b3df6f899.
45 lines
692 B
CMake
45 lines
692 B
CMake
set(LLVM_LINK_COMPONENTS
|
|
AllTargetsAsmParsers
|
|
AllTargetsCodeGens
|
|
AllTargetsDescs
|
|
AllTargetsInfos
|
|
AggressiveInstCombine
|
|
Analysis
|
|
BitWriter
|
|
CodeGen
|
|
Core
|
|
Coroutines
|
|
IPO
|
|
IRReader
|
|
InstCombine
|
|
Instrumentation
|
|
MC
|
|
ObjCARCOpts
|
|
Remarks
|
|
ScalarOpts
|
|
Support
|
|
Target
|
|
TransformUtils
|
|
Vectorize
|
|
Passes
|
|
)
|
|
|
|
add_llvm_tool(opt
|
|
AnalysisWrappers.cpp
|
|
BreakpointPrinter.cpp
|
|
GraphPrinters.cpp
|
|
NewPMDriver.cpp
|
|
PassPrinters.cpp
|
|
PrintSCC.cpp
|
|
opt.cpp
|
|
|
|
DEPENDS
|
|
intrinsics_gen
|
|
SUPPORT_PLUGINS
|
|
)
|
|
export_executable_symbols(opt)
|
|
|
|
if(WITH_POLLY AND LINK_POLLY_INTO_TOOLS)
|
|
target_link_libraries(opt PRIVATE Polly)
|
|
endif(WITH_POLLY AND LINK_POLLY_INTO_TOOLS)
|