summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-02-26 19:01:11 +0000
committerChris Lattner <sabre@nondot.org>2009-02-26 19:01:11 +0000
commite3ff456fd1a87fa3cc9aef6003e10d4f0bd9f752 (patch)
tree78b9f22b16013094a07780f8619826236ca8d39a
parentc953a8853f79a199290099c13deb88fe227c44d8 (diff)
downloadllvm-e3ff456fd1a87fa3cc9aef6003e10d4f0bd9f752.tar.gz
llvm-e3ff456fd1a87fa3cc9aef6003e10d4f0bd9f752.tar.bz2
llvm-e3ff456fd1a87fa3cc9aef6003e10d4f0bd9f752.tar.xz
disable exports from a bunch more tools, those without plugins.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65558 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--tools/llvm-ar/Makefile3
-rw-r--r--tools/llvm-bcanalyzer/Makefile3
-rw-r--r--tools/llvm-dis/Makefile3
-rw-r--r--tools/llvm-extract/Makefile3
-rw-r--r--tools/llvm-link/Makefile3
-rw-r--r--tools/llvm-nm/Makefile3
-rw-r--r--tools/llvm-prof/Makefile3
-rw-r--r--tools/llvm-ranlib/Makefile3
8 files changed, 24 insertions, 0 deletions
diff --git a/tools/llvm-ar/Makefile b/tools/llvm-ar/Makefile
index ec862e6702..e4fe4e8ca3 100644
--- a/tools/llvm-ar/Makefile
+++ b/tools/llvm-ar/Makefile
@@ -12,6 +12,9 @@ TOOLNAME = llvm-ar
LINK_COMPONENTS = archive
REQUIRES_EH := 1
+# This tool has no plugins, optimize startup time.
+TOOL_NO_EXPORTS = 1
+
include $(LEVEL)/Makefile.common
check-local::
diff --git a/tools/llvm-bcanalyzer/Makefile b/tools/llvm-bcanalyzer/Makefile
index 7873236304..251f758606 100644
--- a/tools/llvm-bcanalyzer/Makefile
+++ b/tools/llvm-bcanalyzer/Makefile
@@ -12,4 +12,7 @@ TOOLNAME = llvm-bcanalyzer
LINK_COMPONENTS := bitreader
REQUIRES_EH := 1
+# This tool has no plugins, optimize startup time.
+TOOL_NO_EXPORTS = 1
+
include $(LEVEL)/Makefile.common
diff --git a/tools/llvm-dis/Makefile b/tools/llvm-dis/Makefile
index 6c8d0a327c..dfd5e34981 100644
--- a/tools/llvm-dis/Makefile
+++ b/tools/llvm-dis/Makefile
@@ -12,4 +12,7 @@ TOOLNAME = llvm-dis
LINK_COMPONENTS := bitreader
REQUIRES_EH := 1
+# This tool has no plugins, optimize startup time.
+TOOL_NO_EXPORTS = 1
+
include $(LEVEL)/Makefile.common
diff --git a/tools/llvm-extract/Makefile b/tools/llvm-extract/Makefile
index 21fe37b131..2ef88415c6 100644
--- a/tools/llvm-extract/Makefile
+++ b/tools/llvm-extract/Makefile
@@ -12,4 +12,7 @@ LEVEL = ../..
TOOLNAME = llvm-extract
LINK_COMPONENTS := ipo bitreader bitwriter
+# This tool has no plugins, optimize startup time.
+TOOL_NO_EXPORTS = 1
+
include $(LEVEL)/Makefile.common
diff --git a/tools/llvm-link/Makefile b/tools/llvm-link/Makefile
index fdb1c196fe..ddc7a59b32 100644
--- a/tools/llvm-link/Makefile
+++ b/tools/llvm-link/Makefile
@@ -11,4 +11,7 @@ LEVEL = ../..
TOOLNAME = llvm-link
LINK_COMPONENTS = linker bitreader bitwriter
+# This tool has no plugins, optimize startup time.
+TOOL_NO_EXPORTS = 1
+
include $(LEVEL)/Makefile.common
diff --git a/tools/llvm-nm/Makefile b/tools/llvm-nm/Makefile
index ee495bf4e9..ecf5f8c3dc 100644
--- a/tools/llvm-nm/Makefile
+++ b/tools/llvm-nm/Makefile
@@ -11,4 +11,7 @@ LEVEL = ../..
TOOLNAME = llvm-nm
LINK_COMPONENTS = archive bitreader
+# This tool has no plugins, optimize startup time.
+TOOL_NO_EXPORTS = 1
+
include $(LEVEL)/Makefile.common
diff --git a/tools/llvm-prof/Makefile b/tools/llvm-prof/Makefile
index d9beabb433..3c4948e615 100644
--- a/tools/llvm-prof/Makefile
+++ b/tools/llvm-prof/Makefile
@@ -12,4 +12,7 @@ TOOLNAME = llvm-prof
LINK_COMPONENTS = bitreader analysis
REQUIRES_EH := 1
+# This tool has no plugins, optimize startup time.
+TOOL_NO_EXPORTS = 1
+
include $(LEVEL)/Makefile.common
diff --git a/tools/llvm-ranlib/Makefile b/tools/llvm-ranlib/Makefile
index 1d315c2b82..46a10e6446 100644
--- a/tools/llvm-ranlib/Makefile
+++ b/tools/llvm-ranlib/Makefile
@@ -12,4 +12,7 @@ TOOLNAME = llvm-ranlib
LINK_COMPONENTS = archive
REQUIRES_EH := 1
+# This tool has no plugins, optimize startup time.
+TOOL_NO_EXPORTS = 1
+
include $(LEVEL)/Makefile.common