[PATCH] D46755: [LLD][ELF] Implement --keep-unique option

Peter Smith via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon May 14 07:32:10 PDT 2018


peter.smith updated this revision to Diff 146606.
peter.smith added a comment.

Thanks very much for the comments. I've made the following changes:

- Used a bitfield for KeepUnique
- moved findKeepUniqueSections to the driver
- Simplified test case with nops, and removed absolute paths.


https://reviews.llvm.org/D46755

Files:
  ELF/Config.h
  ELF/Driver.cpp
  ELF/ICF.cpp
  ELF/InputSection.h
  ELF/Options.td
  test/ELF/icf-keep-unique.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D46755.146606.patch
Type: text/x-patch
Size: 5307 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180514/636eddaf/attachment.bin>


More information about the llvm-commits mailing list