[PATCH] D46104: Add a Global symbol type
Rafael Avila de Espindola via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 25 22:28:34 PDT 2018
espindola created this revision.
espindola added reviewers: ruiu, grimar.
Herald added subscribers: arichardson, emaste.
espindola edited the summary of this revision.
This is an idea on how to fix the https://reviews.llvm.org/D46103 problem with VerdefIndex.
By having Global symbol type we can avoid having unused PltIndex, GotPltIndex and DynsymIndex in each local symbol. VerdefIndex could be moved there too.
This reduces peak allocation when linking chrome from 568.1 to 562.1.
https://reviews.llvm.org/D46104
Files:
ELF/LinkerScript.cpp
ELF/SymbolTable.cpp
ELF/Symbols.cpp
ELF/Symbols.h
ELF/SyntheticSections.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D46104.144062.patch
Type: text/x-patch
Size: 10102 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180426/25239bda/attachment.bin>
More information about the llvm-commits
mailing list