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

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 23 12:39:05 PDT 2023


MaskRay added a comment.

Adding default library paths to the linker seems odd. The convention is to add the code to Clang Driver.
ld.lld doesn't add any default library path and it has been working fine.
GNU ld may add some paths like `/usr/lib` that's already been added by gcc/clang drivers.


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