It's similar to lld-ELF's -whole-archive, but applied to individual
archives instead of to a series of them.
Details
Details
- Reviewers
smeenai - Group Reviewers
Restricted Project - Commits
- rG437e6bd286ac: [lld-macho] Implement -force_load
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
lld/MachO/Driver.cpp | ||
---|---|---|
270 | Can we do any better in terms of diagnostics here? Perhaps stringify the error? | |
275 | This seems ... duplicative. The fatal is necessary, but Im not sure about printing out a subsequent message. | |
287 | Id just cascade this: if (Optional<MemoryBufferRef> archive = readFile(path)) for (MemoryBufferRef member: getArchiveMembers(*archive)) inputFiles.push_back(make<ObjFile>(member)); |
Can we do any better in terms of diagnostics here? Perhaps stringify the error?