summaryrefslogtreecommitdiff
path: root/tools/llc
diff options
context:
space:
mode:
authorNico Weber <nicolasweber@gmx.de>2013-12-30 03:36:05 +0000
committerNico Weber <nicolasweber@gmx.de>2013-12-30 03:36:05 +0000
commit94d1e67cb555f544252a88235a33a2caa378ae63 (patch)
tree4be0932b346f0fae5544dcd3074f47bb1bd26cf3 /tools/llc
parent0661cbefb3c3544b50dd3b7ee6e81113a92e389d (diff)
Port r198087 and r198089 (strip dead code by default) from make to cmake.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@198198 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/llc')
-rw-r--r--tools/llc/CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/llc/CMakeLists.txt b/tools/llc/CMakeLists.txt
index 9a3d411a283..393d64c0ef0 100644
--- a/tools/llc/CMakeLists.txt
+++ b/tools/llc/CMakeLists.txt
@@ -11,6 +11,9 @@ set(LLVM_LINK_COMPONENTS
Target
)
+# Support plugins.
+set(LLVM_NO_DEAD_STRIP 1)
+
add_llvm_tool(llc
llc.cpp
)