[PATCH] D74791: Add a --shuffle-sections=seed option to lld

Rafael Avila de Espindola via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 19 08:33:06 PST 2020


respindola updated this revision to Diff 245416.
respindola edited the summary of this revision.
respindola added a comment.

Added a seed value to the command line option.

Made it work with other section sorting options, like --symbol-ordering-file by shuffling only sections without a priority.

Added a test.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D74791/new/

https://reviews.llvm.org/D74791

Files:
  lld/ELF/Config.h
  lld/ELF/Driver.cpp
  lld/ELF/Options.td
  lld/ELF/Writer.cpp
  lld/test/ELF/symbol-ordering-file-shuffle.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D74791.245416.patch
Type: text/x-patch
Size: 4341 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200219/7a08aaac/attachment.bin>


More information about the llvm-commits mailing list