diff options
author | Nico Weber <nicolasweber@gmx.de> | 2013-12-30 03:36:05 +0000 |
---|---|---|
committer | Nico Weber <nicolasweber@gmx.de> | 2013-12-30 03:36:05 +0000 |
commit | 94d1e67cb555f544252a88235a33a2caa378ae63 (patch) | |
tree | 4be0932b346f0fae5544dcd3074f47bb1bd26cf3 /unittests | |
parent | 0661cbefb3c3544b50dd3b7ee6e81113a92e389d (diff) | |
download | llvm-94d1e67cb555f544252a88235a33a2caa378ae63.tar.gz llvm-94d1e67cb555f544252a88235a33a2caa378ae63.tar.bz2 llvm-94d1e67cb555f544252a88235a33a2caa378ae63.tar.xz |
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 'unittests')
-rw-r--r-- | unittests/ExecutionEngine/JIT/CMakeLists.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/unittests/ExecutionEngine/JIT/CMakeLists.txt b/unittests/ExecutionEngine/JIT/CMakeLists.txt index d5e0b2eea8..72c1df7463 100644 --- a/unittests/ExecutionEngine/JIT/CMakeLists.txt +++ b/unittests/ExecutionEngine/JIT/CMakeLists.txt @@ -51,6 +51,9 @@ if(MSVC) list(APPEND JITTestsSources JITTests.def) endif() +# The JIT tests need to dlopen things. +set(LLVM_NO_DEAD_STRIP 1) + add_llvm_unittest(JITTests ${JITTestsSources} ) |