summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms
diff options
context:
space:
mode:
authorTom Stellard <tstellar@redhat.com>2018-12-20 22:04:08 +0000
committerTom Stellard <tstellar@redhat.com>2018-12-20 22:04:08 +0000
commit2f44fbe936fab72921c3daa41fc8bf8f491c55be (patch)
treed474ab2578e520d6532ae40ab6107378decae5fa /llvm/lib/Transforms
parentb1f500f29483c5453390291c68765b068770c0e4 (diff)
downloadbcm5719-llvm-2f44fbe936fab72921c3daa41fc8bf8f491c55be.tar.gz
bcm5719-llvm-2f44fbe936fab72921c3daa41fc8bf8f491c55be.zip
cmake: Remove add_llvm_loadable_module()
Summary: This function is very similar to add_llvm_library(), so this patch merges it into add_llvm_library() and replaces all calls to add_llvm_loadable_module(lib ...) with add_llvm_library(lib MODULE ...) Reviewers: philip.pfaffe, beanz, chandlerc Reviewed By: philip.pfaffe Subscribers: chapuni, mgorny, llvm-commits Differential Revision: https://reviews.llvm.org/D51748 llvm-svn: 349839
Diffstat (limited to 'llvm/lib/Transforms')
-rw-r--r--llvm/lib/Transforms/Hello/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Hello/CMakeLists.txt b/llvm/lib/Transforms/Hello/CMakeLists.txt
index 4a55dd9c04b..d9cd33a4938 100644
--- a/llvm/lib/Transforms/Hello/CMakeLists.txt
+++ b/llvm/lib/Transforms/Hello/CMakeLists.txt
@@ -10,7 +10,7 @@ if(WIN32 OR CYGWIN)
set(LLVM_LINK_COMPONENTS Core Support)
endif()
-add_llvm_loadable_module( LLVMHello
+add_llvm_library( LLVMHello MODULE
Hello.cpp
DEPENDS
OpenPOWER on IntegriCloud