[PATCH] D85278: [lld] Support building shared libLLD.so
Michał Górny via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 5 00:08:52 PDT 2020
mgorny created this revision.
mgorny added reviewers: ruiu, beanz.
mgorny added a project: lld.
Herald added a subscriber: mstorsjo.
mgorny requested review of this revision.
Herald added a subscriber: aheejin.
Support building a single shared library in addition to split libraries.
The concept and code is copied from clang's libclang-cpp.so. This will
permit building external tools against LLD without having to resort
to static linking or BUILD_SHARED_LIBS.
Support linking LLD to the dylib to avoid duplication.
https://reviews.llvm.org/D85278
Files:
lld/CMakeLists.txt
lld/cmake/modules/AddLLD.cmake
lld/tools/lld-shlib/CMakeLists.txt
lld/tools/lld-shlib/lld-shlib.cpp
lld/tools/lld/CMakeLists.txt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D85278.283138.patch
Type: text/x-patch
Size: 4859 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200805/c8f02f47/attachment.bin>
More information about the llvm-commits
mailing list