[PATCH] D116913: [lld-macho] Add --start-lib --end-lib
Shoaib Meenai via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jan 12 17:35:29 PST 2022
smeenai added a comment.
> Also I've said this on the bug but I'm kind concerned about introducing stateful flags like this given there's no precedence for it in LD64.
I'd also be more supportive of doing something like `-objlib` instead of `--start-lib`. We have an analog for this already, where ELF linkers use `--whole-archive` `--no-whole-archive` to enclose archives to be linked whole, whereas ld64 has `-force_load` to whole-link a particular archive. I don't feel super strongly about that though.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D116913/new/
https://reviews.llvm.org/D116913
More information about the llvm-commits
mailing list