summaryrefslogtreecommitdiffstats
path: root/llvm/docs/WritingAnLLVMPass.rst
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/docs/WritingAnLLVMPass.rst
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/docs/WritingAnLLVMPass.rst')
-rw-r--r--llvm/docs/WritingAnLLVMPass.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/docs/WritingAnLLVMPass.rst b/llvm/docs/WritingAnLLVMPass.rst
index 41f400740e8..19dc6c11c9b 100644
--- a/llvm/docs/WritingAnLLVMPass.rst
+++ b/llvm/docs/WritingAnLLVMPass.rst
@@ -55,7 +55,7 @@ copy the following into ``CMakeLists.txt``:
.. code-block:: cmake
- add_llvm_loadable_module( LLVMHello
+ add_llvm_library( LLVMHello MODULE
Hello.cpp
PLUGIN_TOOL
OpenPOWER on IntegriCloud