Use object::Archive::create so that the returned archive object has a dynamic type of either Archive or BigArchive.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
It's unclear why the old code doesn't support big archives while the new code supports big archives. Can you explain it in the summary and the comment?
Comment Actions
[AIX] llvm-link support big archive.
You can say [AIX] Make llvm-link support big archives
Comment Actions
The summary can probably be made clearer with something like
Use object::Archive::create so that the returned archive object has a dynamic type of either Archive or BigArchive.
Comment Actions
LGTM, with @MaskRay's summary change suggestion.
Would it make sense to make the object::Archive constructor private, to stop code from directly using it instead of using the create function? Could be a follow-up patch, if you want.