diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2005-01-11 04:31:07 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2005-01-11 04:31:07 +0000 |
commit | 492c2935be35b75c77ab8db19b63fca812ebea5c (patch) | |
tree | 12d2fae94b36d151dfe0d60be68680c371b4ec1b /lib/Transforms/Hello | |
parent | a8d9cc870593d3e915ac9184dc0daf1783d4f8a4 (diff) | |
download | llvm-492c2935be35b75c77ab8db19b63fca812ebea5c.tar.gz llvm-492c2935be35b75c77ab8db19b63fca812ebea5c.tar.bz2 llvm-492c2935be35b75c77ab8db19b63fca812ebea5c.tar.xz |
Implement the LOADABLE_MODULE option when building a shared library. This
passes the -module option on the libtool command line to ensure that the
shared library being built can be dlopened and dlsym can work on that
module. LOADABLE_MODULE should be sent only in conjunction with the
SHARED_LIBRARY directive. It should generally be used for any module that
is intended to be the target of an LLVM -load option. Note that loadable
modules will not have the lib prefix but otherwise look like shared
libraries. This is per the libtool recommendations and prevents these
special shared libraries from being linked in via -l option to the linker.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19454 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Hello')
0 files changed, 0 insertions, 0 deletions