Page MenuHomePhabricator

[lld] Support building shared libLLD.so
Needs ReviewPublic

Authored by mgorny on Aug 5 2020, 12:08 AM.

Details

Reviewers
ruiu
beanz
Summary

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.

Diff Detail

Event Timeline

mgorny created this revision.Aug 5 2020, 12:08 AM
mgorny requested review of this revision.Aug 5 2020, 12:08 AM

@ruiu, any chance you could review this?