[llvm-dev] Clang option for reordering sections in .text

Priyanka Bose via llvm-dev llvm-dev at lists.llvm.org
Tue Apr 17 12:11:50 PDT 2018


Hi,

Any suggestions on this if there is any such flag available with clang.

Regards
Priyanka


On Mon 9 Apr, 2018, 11:03 AM Priyanka Bose, <dolabose.21 at gmail.com> wrote:

> Hi ,
>
> I would like to know if there is any way to reorder functions in the
> object file in order to improve code locality by implementing subsections
> .text.hot.
> GCC controls this behavior with '-f(no)-reorder-functions' flag, is there
> any way to do so in clang?
>
> Regards,
> Priyanka
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20180417/fda57c40/attachment.html>


More information about the llvm-dev mailing list