[PATCH] D80677: [lld-macho] Handle framework search path, alongside library search path
Greg McGary via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jun 17 21:02:55 PDT 2020
gkm marked an inline comment as done.
gkm added inline comments.
================
Comment at: lld/MachO/Driver.cpp:144
+ opt::InputArgList &args) {
+ SmallVector<StringRef, 2> systemPaths = {"/usr/lib", "/usr/local/lib"};
+ getSearchPaths(paths, OPT_L, args, systemPaths);
----------------
int3 wrote:
> nit: this can just a ctor call instead of an assignment
>
> (actually the local variable itself isn't necessary if we take the parameter by const ref)
What is the syntax for eliding the local variable?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D80677/new/
https://reviews.llvm.org/D80677
More information about the llvm-commits
mailing list