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

Priyanka Bose via llvm-dev llvm-dev at lists.llvm.org
Sun Apr 8 22:33:03 PDT 2018


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/20180409/4e1dab3e/attachment.html>


More information about the llvm-dev mailing list