1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 12:12:47 +01:00
llvm-mirror/tools/llvm-stress/CMakeLists.txt
Eli Friedman 45e4a653e4 Don't export symbols from clang/opt/llc if plugins are disabled.
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
2020-03-23 12:17:09 -07:00

13 lines
134 B
CMake

set(LLVM_LINK_COMPONENTS
Analysis
Core
Support
)
add_llvm_tool(llvm-stress
llvm-stress.cpp
DEPENDS
intrinsics_gen
)