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

Rafael EspĂ­ndola rafael.espindola at gmail.com
Thu Feb 5 13:44:22 PST 2015


On 28 January 2015 at 14:05, 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.

Sounds like what is needed is something like:

 if (SeenLinkerOrderCommand)
  addSlowLayoutPass()
else
  addFastLayoutPass()

and that can be implemented when the linker script support for that
particular command is added.

Cheers,
Rafael



More information about the llvm-commits mailing list