Export symbols in tools that support loading plugins.
authorWill Dietz <wdietz2@illinois.edu>
Thu, 5 Dec 2013 01:01:58 +0000 (01:01 +0000)
committerWill Dietz <wdietz2@illinois.edu>
Thu, 5 Dec 2013 01:01:58 +0000 (01:01 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@196447 91177308-0d34-0410-b5e6-96231b3b80d8

tools/llc/CMakeLists.txt
tools/lli/CMakeLists.txt
tools/llvm-stress/CMakeLists.txt
tools/llvm-stress/Makefile

index e5a5550e9ea6bd60fc5052c202e29bc5f2ce27ff..97c762b7f6fe240e8249cbb0f82f4766cf1047e3 100644 (file)
@@ -3,3 +3,4 @@ set(LLVM_LINK_COMPONENTS ${LLVM_TARGETS_TO_BUILD} bitreader asmparser irreader)
 add_llvm_tool(llc
   llc.cpp
   )
+set_target_properties(llc PROPERTIES ENABLE_EXPORTS 1)
index 5f8c7c9261334a4f64a37e108521505e726a532a..da48e6d215cf2576a7af7c8c9cc228f76a46b6f3 100644 (file)
@@ -25,3 +25,4 @@ add_llvm_tool(lli
   RemoteTarget.cpp
   RemoteTargetExternal.cpp
   )
+set_target_properties(lli PROPERTIES ENABLE_EXPORTS 1)
index e2d07a5dda20287bfc52c4edf4e12a3864edab8c..ff3a5c42a07bf1a8edc6f33baef8f92bb951c6c5 100644 (file)
@@ -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)
index 8767cbe4176781a8070302ab16ccc91028d0e19b..29245af7298cbc2b6fcefe0060a59a3be6c0ec44 100644 (file)
@@ -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