[all-commits] [llvm/llvm-project] 9df7da: [lld-macho] Tweak the names we give to archive mem...
Jez Ng via All-commits
all-commits at lists.llvm.org
Thu Apr 20 14:24:41 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 9df7daa5ef912957c708382c0860e01d1cd3b4c8
https://github.com/llvm/llvm-project/commit/9df7daa5ef912957c708382c0860e01d1cd3b4c8
Author: Jez Ng <jezng at fb.com>
Date: 2023-04-20 (Thu, 20 Apr 2023)
Changed paths:
M lld/MachO/InputFiles.cpp
M lld/test/MachO/lto-archivecollision.ll
Log Message:
-----------
[lld-macho] Tweak the names we give to archive members
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)`.
Reviewed By: #lld-macho, oontvoo
Differential Revision: https://reviews.llvm.org/D148828
More information about the All-commits
mailing list