-
-
Notifications
You must be signed in to change notification settings - Fork 14.7k
Find a way to get rid of src\tools\lld-wrapper #97352
Copy link
Copy link
Closed
Labels
A-linkageArea: linking into static, shared libraries and binariesArea: linking into static, shared libraries and binariesT-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.
Metadata
Metadata
Assignees
Labels
A-linkageArea: linking into static, shared libraries and binariesArea: linking into static, shared libraries and binariesT-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.
Type
Fields
Give feedbackNo fields configured for issues without a type.
#89288 added a new wrapper tool the only purpose of which is to call LLD with the right flavor when
rust-lldshipped with Rust distribution is used.I strongly suspect that it is not necessary and the whole setup can be simplified.
The LLD executable itself is already a wrapper that does dispatch on its name and passed
-flavor, we should be able to make it do what is necessary for us.In the worst case we can patch
src\llvm-project\lld\tools\lld\lld.cpp, sincerust-lldis built and shipped by us using our fork of LLVM, that would still be better than a separate wrapper tool.