This change exposes the symbol table insert method and uses it to insert the linkerscript defined symbols directly into the symbol table to avoid unnecessarily pulling the object out of an archive.
This change addresses PR32026.
Paths
| Differential D30224
[ELF] Insert linkerscript symbols directly into symbol table ClosedPublic Authored by phosek on Feb 21 2017, 1:58 PM.
Details Summary This change exposes the symbol table insert method and uses it to insert the linkerscript defined symbols directly into the symbol table to avoid unnecessarily pulling the object out of an archive. This change addresses PR32026.
Diff Detail
Event TimelineComment Actions LGTM
This revision is now accepted and ready to land.Feb 21 2017, 2:14 PM phosek marked 2 inline comments as done. Closed by commit rL295780: [ELF] Insert linkerscript symbols directly into symbol table (authored by phosek). · Explain WhyFeb 21 2017, 2:44 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 89275 ELF/LinkerScript.cpp
ELF/SymbolTable.h
test/ELF/linkerscript/lazy-symbols.s
|
You don't need to make symbol` foo` have real contents, so you can remove this.