cmake: Remove add_llvm_loadable_module()
authorTom Stellard <tstellar@redhat.com>
Thu, 20 Dec 2018 22:04:08 +0000 (22:04 +0000)
committerTom Stellard <tstellar@redhat.com>
Thu, 20 Dec 2018 22:04:08 +0000 (22:04 +0000)
commit2f44fbe936fab72921c3daa41fc8bf8f491c55be
treed474ab2578e520d6532ae40ab6107378decae5fa
parentb1f500f29483c5453390291c68765b068770c0e4
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
llvm/cmake/modules/AddLLVM.cmake
llvm/docs/CMake.rst
llvm/docs/WritingAnLLVMPass.rst
llvm/lib/Transforms/Hello/CMakeLists.txt
llvm/tools/bugpoint-passes/CMakeLists.txt
llvm/tools/gold/CMakeLists.txt
llvm/unittests/Passes/CMakeLists.txt