[PATCH] D46169: Split merge sections early

Rafael Avila de Espindola via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 26 20:05:22 PDT 2018


espindola created this revision.
espindola added reviewers: ruiu, grimar.
Herald added subscribers: JDevlieghere, arichardson, aprantl, emaste.

Now that getSectionPiece is fast (uses a hash) it is probably OK to split merge sections early.

The reason I want to do this is to split eh_frame sections in the same place.

This does mean that we have to decompress early. Given that the only compressed sections are debug info, I don't think we are missing much.

I am currently benchmarking this patch.


https://reviews.llvm.org/D46169

Files:
  ELF/Driver.cpp
  ELF/InputSection.cpp
  ELF/InputSection.h
  ELF/SyntheticSections.cpp
  ELF/SyntheticSections.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D46169.144267.patch
Type: text/x-patch
Size: 3924 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180427/271e610f/attachment-0001.bin>


More information about the llvm-commits mailing list