[PATCH] D151188: [lld] Find resource and lib dir

Petr Hosek via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 23 13:49:16 PDT 2023


phosek added a comment.

The alternative proposal we discussed at EuroLLVM would be to create a custom Clang tool akin to `-cc1` or `-cc1as`, for example `-link`, which would accept the same options as `lld-link` (in addition to flags like `--target`) and invoke `lld-link` with the appropriate search paths. The users would then use `clang -link` in place of of `lld-link`. The advantage is that `lld-link` can remain agnostic to default library paths. The disadvantage is the extra complexity in the Clang driver.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D151188/new/

https://reviews.llvm.org/D151188



More information about the llvm-commits mailing list