mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 19:23:23 +01:00
45e4a653e4
The only reason we export symbols from these tools is to support plugins; if we don't have plugins, exporting symbols just bloats the executable and makes LTO less effective. See review of D75879 for the discussion that led to this patch. Differential Revision: https://reviews.llvm.org/D76527
31 lines
387 B
CMake
31 lines
387 B
CMake
set(LLVM_LINK_COMPONENTS
|
|
AllTargetsAsmParsers
|
|
AllTargetsCodeGens
|
|
AllTargetsDescs
|
|
AllTargetsInfos
|
|
Analysis
|
|
AsmPrinter
|
|
CodeGen
|
|
Core
|
|
IRReader
|
|
MC
|
|
MIRParser
|
|
Remarks
|
|
ScalarOpts
|
|
SelectionDAG
|
|
Support
|
|
Target
|
|
TransformUtils
|
|
Vectorize
|
|
)
|
|
|
|
add_llvm_tool(llc
|
|
llc.cpp
|
|
|
|
DEPENDS
|
|
intrinsics_gen
|
|
SUPPORT_PLUGINS
|
|
)
|
|
|
|
export_executable_symbols_for_plugins(llc)
|