[PATCH] D13196: ELF] Remove merge strings functionality.

Shankar Easwaran via llvm-commits llvm-commits at lists.llvm.org
Sat Sep 26 16:20:27 PDT 2015


shankare created this revision.
shankare added reviewers: ruiu, atanasyan, Bigcheese.
shankare added subscribers: lld, llvm-commits.
shankare added a project: lld.

The reader creates mergeable strings for sections that have the flag SHF_MERGE|SHF_STRINGS set, Lets delay string merging until the output fie is being written to disk.

The time will also be saved because the reader may try to atomize a section
that is has been garbage collected containing strings very early when garbage
collection is enabled.

http://reviews.llvm.org/D13196

Files:
  include/lld/ReaderWriter/ELFLinkingContext.h
  lib/Driver/GnuLdDriver.cpp
  lib/Driver/GnuLdOptions.td
  lib/ReaderWriter/ELF/Atoms.h
  lib/ReaderWriter/ELF/ELFFile.cpp
  lib/ReaderWriter/ELF/ELFFile.h
  test/elf/mergeatoms.test
  test/elf/mergeconstants.test
  test/elf/reloc.test

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D13196.35813.patch
Type: text/x-patch
Size: 21771 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150926/506f10b5/attachment.bin>


More information about the llvm-commits mailing list