[PATCH] D41049: Compact symbols from 96 to 88 bytes
Rafael Ávila de Espíndola via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sat Dec 9 10:08:02 PST 2017
rafael created this revision.
Herald added a subscriber: emaste.
By using an index instead of a pointer for verdef we can put the index next to the alignment field. This uses the otherwise wasted area and reduces the shared symbol size.
By itself the performance change of this is in the noise, but I have a followup patch to remove another 8 bytes that improves performance when combined with this.
https://reviews.llvm.org/D41049
Files:
ELF/InputFiles.cpp
ELF/InputFiles.h
ELF/SymbolTable.cpp
ELF/SymbolTable.h
ELF/Symbols.h
ELF/SyntheticSections.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D41049.126278.patch
Type: text/x-patch
Size: 7322 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171209/d052a329/attachment.bin>
More information about the llvm-commits
mailing list