There seems to be no reason to collect this list of symbols.
Also fix a bug where --exclude-libs would apply to all symbols that
appear in an archive's symbol table, even if the relevant archive
member was not added to the link.
Paths
| Differential D43369
ELF: Stop collecting a list of symbols in ArchiveFile. ClosedPublic Authored by pcc on Feb 15 2018, 9:05 PM.
Details Summary There seems to be no reason to collect this list of symbols. Also fix a bug where --exclude-libs would apply to all symbols that
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Feb 15 2018, 9:08 PM This revision is now accepted and ready to land.Feb 15 2018, 9:29 PM Closed by commit rLLD325380: ELF: Stop collecting a list of symbols in ArchiveFile. (authored by pcc). · Explain WhyFeb 16 2018, 12:28 PM Closed by commit rL325380: ELF: Stop collecting a list of symbols in ArchiveFile. (authored by pcc). · Explain Why This revision was automatically updated to reflect the committed changes. This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 134557 lld/ELF/Driver.cpp
lld/ELF/InputFiles.h
lld/ELF/InputFiles.cpp
lld/ELF/SymbolTable.h
lld/ELF/SymbolTable.cpp
lld/test/ELF/exclude-libs.s
|
Wait, this isn't quite right yet, I think we need to check Sym->File == File here now.