With this change, basic archive files can be linked together. Input section discovery has been refactored into a function since archive files lazily resolve their symbols / the object files containing those symbols.
Depends on D77893.
Differential D78342
[lld] Add archive file support to Mach-O backend Ktwu on Apr 16 2020, 7:30 PM. Authored by
Details With this change, basic archive files can be linked together. Input section discovery has been refactored into a function since archive files lazily resolve their symbols / the object files containing those symbols. Depends on D77893.
Diff Detail
Event Timeline
Comment Actions Added two tests inspired by the ELF implementation -- a bad archive, and an archive with no symbol table.
Comment Actions
Comment Actions
Comment Actions Nice. This looks like a straightforward implementation of an archive file support.
Comment Actions Looks good with all the comments addressed! Making the test not run a binary is the only real blocker at this point, I think.
Comment Actions
Comment Actions Couple of nits but this mostly looks good. If you can make sure it's ASAN/UBSAN clean I can land it
Comment Actions
Comment Actions Looks great with the leak fixed!
|
are these two relocations used in this diff's tests?