[PATCH] D42598: Add the /order option.

Rui Ueyama via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 26 12:41:50 PST 2018


ruiu created this revision.
ruiu added reviewers: rnk, pcc.

With the /order option, you can give an order file. An order file
contains symbol names, one per line, and the linker places comdat
sections in that given order. The option is used often to optimize
an output binary for (in particular, startup) speed by improving
locality.


https://reviews.llvm.org/D42598

Files:
  lld/COFF/Config.h
  lld/COFF/Driver.cpp
  lld/COFF/Options.td
  lld/COFF/Writer.cpp
  lld/test/COFF/Inputs/order.yaml

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D42598.131641.patch
Type: text/x-patch
Size: 6937 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180126/8f559c74/attachment.bin>


More information about the llvm-commits mailing list