llvm-beanz wrote:

> The goal is to just have a tool that clang can use as a normal toolchain 
> linker so we can reuse as much as possible when it comes to creating link 
> jobs.

Clang can use `lld`, `llvm-ar`, and `dsymutil` (among others), so being part of 
Clang certainly isn't necessary for the clang driver to invoke it.

>We could stash this in `llvm/` and it wouldn't make much of a difference. Also 
>we can probably just use the LLVM Linker API instead of `llvm-link`. Forgot to 
>mention that as a to-do.

I'd be real interested to know if this should be part of `llvm-link` or `lld`. 
As a general rule we try not to accept streams of patches with big `TODO` 
markings to clean it all up after it lands.



https://github.com/llvm/llvm-project/pull/112245
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to