[PATCH] D119049: WIP: Allow using LLD as a lib
Alexandre Ganea via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Feb 4 18:08:27 PST 2022
aganea created this revision.
aganea added reviewers: MaskRay, krzysz00.
Herald added subscribers: mstorsjo, mgorny, dschuff.
aganea requested review of this revision.
Herald added subscribers: llvm-commits, aheejin.
Herald added a project: LLVM.
As discussed in https://github.com/llvm/llvm-project/issues/53475 this patch allows using LLD-as-a-lib. It also lets clients to only link the drivers they want.
This is still a bit WIP, it lacks testing. As a testbed, I used https://github.com/ROCmSoftwarePlatform/D108850-lld-bug-reproduction + F21986834: use_safe_call.zip <https://reviews.llvm.org/F21986834> applied on the top.
@krzysz00 Are you able to give it a try on your end?
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D119049
Files:
lld/tools/lld/CMakeLists.txt
lld/tools/lld/lld.cpp
lld/tools/lld/lld_lib.cpp
lld/tools/lld/lld_main.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D119049.406135.patch
Type: text/x-patch
Size: 11163 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220205/c986a283/attachment.bin>
More information about the llvm-commits
mailing list