[PATCH] D46103: Replace SharedSymbols with Defined when creating copy relocations

Rafael Avila de Espindola via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 26 10:48:59 PDT 2018


espindola updated this revision to Diff 144159.
espindola edited the summary of this revision.
espindola added a comment.

Rebased and address some of the review comments.

This now move SharedSymbol from 80 to 72 bytes and Defined stays at 72.

With this the peak allocation when linking chromium goes from 568.1 to 564.2 MB.


https://reviews.llvm.org/D46103

Files:
  ELF/LinkerScript.cpp
  ELF/MapFile.cpp
  ELF/Relocations.cpp
  ELF/Symbols.cpp
  ELF/Symbols.h
  ELF/SyntheticSections.cpp
  ELF/SyntheticSections.h
  ELF/Writer.cpp
  test/ELF/map-file.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D46103.144159.patch
Type: text/x-patch
Size: 12948 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180426/db23b7a1/attachment.bin>


More information about the llvm-commits mailing list