[PATCH] [MachO] Implement -order_file as a separate ordering pass.

Rui Ueyama ruiu at google.com
Wed Jan 28 11:26:59 PST 2015


Currently there's no way to specify symbol orders. If someone wants to
reorder symbols in a special manner, one needs to use LLD as a library and
write a custom pass to enforce some specific ordering. That means they can
reorder symbols in their pass, rather than doing tricky things with layout
references and let the LayoutPass to sort them. The LayoutPass is
overdesigned and hard to use. Let's not depend on that too much.

On Wed, Jan 28, 2015 at 11:05 AM, Shankar Kalpathi Easwaran <
shankarke at gmail.com> wrote:

> Several of our customers want this functionality of ordering
> functions/data(without linker scripts) to just take an order file and order
> them appropriately.
>
>
> http://reviews.llvm.org/D7212
>
> EMAIL PREFERENCES
>   http://reviews.llvm.org/settings/panel/emailpreferences/
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150128/0a46a5c1/attachment.html>


More information about the llvm-commits mailing list