This flag is the default, so in ld64 it is not implemented, but it can
be useful to negate previous -all_load arguments. Specifically if your
build system has some global linker flags, that you may want to negate
for specific links. We use something like this today to make sure some
C++ symbols are automatically discovered for all links, which passing
-all_load hides.
Details
Details
- Reviewers
oontvoo - Group Reviewers
Restricted Project - Commits
- rG67090e3446e8: [lld-macho] Implement -noall_load
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
LG thanks!
lld/test/MachO/archive.s | ||
---|---|---|
35 | for completeness, can we have a test where -noall_load is used alone? |
for completeness, can we have a test where -noall_load is used alone?