In particular, make it foo.a(foo.o)$ARCHIVE_OFFSET. The goal is to
make it more similar to both ld64 implementation, which uses the
foo.a(foo.o)$MODULE_ID format. We dump some of these names in LTO
code, so matching ld64's format is helpful. This format is also more
similar to LLD-ELF's, which is foo.a(foo.o at $ARCHIVE_OFFSET).
Details
Details
- Reviewers
oontvoo - Group Reviewers
Restricted Project - Commits
- rG9df7daa5ef91: [lld-macho] Tweak the names we give to archive members
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
LG!
(FWIW, I think ELF's format is more human-readable ... perhaps if consistency were the goal, we should choose to be consistent with other LLD ports? /shrug)
Comment Actions
I agree it's more readable but following ld64 is more useful for us 😅
also LLD-COFF doesn't match LLD-ELF's format either