summaryrefslogtreecommitdiff
path: root/tools/llvm-stress
diff options
context:
space:
mode:
authorWill Dietz <wdietz2@illinois.edu>2013-12-05 01:01:58 +0000
committerWill Dietz <wdietz2@illinois.edu>2013-12-05 01:01:58 +0000
commit7437feefbbb6b33a69ad9391cba29c30717dfcf6 (patch)
tree1c91ad3dc3f03455e083bb0c54fac066f278401c /tools/llvm-stress
parent7afb463a6557f7ce0b0a3b31af562f7875c3b46a (diff)
Export symbols in tools that support loading plugins.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@196447 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/llvm-stress')
-rw-r--r--tools/llvm-stress/CMakeLists.txt1
-rw-r--r--tools/llvm-stress/Makefile3
2 files changed, 1 insertions, 3 deletions
diff --git a/tools/llvm-stress/CMakeLists.txt b/tools/llvm-stress/CMakeLists.txt
index e2d07a5dda2..ff3a5c42a07 100644
--- a/tools/llvm-stress/CMakeLists.txt
+++ b/tools/llvm-stress/CMakeLists.txt
@@ -3,3 +3,4 @@ set(LLVM_LINK_COMPONENTS bitreader asmparser bitwriter instrumentation scalaropt
add_llvm_tool(llvm-stress
llvm-stress.cpp
)
+set_target_properties(llvm-stress PROPERTIES ENABLE_EXPORTS 1)
diff --git a/tools/llvm-stress/Makefile b/tools/llvm-stress/Makefile
index 8767cbe4176..29245af7298 100644
--- a/tools/llvm-stress/Makefile
+++ b/tools/llvm-stress/Makefile
@@ -12,7 +12,4 @@ TOOLNAME := llvm-stress
LINK_COMPONENTS := object
LINK_COMPONENTS := bitreader bitwriter asmparser irreader instrumentation scalaropts ipo
-# This tool has no plugins, optimize startup time.
-TOOL_NO_EXPORTS = 1
-
include $(LEVEL)/Makefile.common