[Docs] [Document Request] Is there any specifications on the symbol ordering file?

朱一帆 via Docs docs at lists.llvm.org
Tue Jun 2 23:10:59 PDT 2020


Dear LLVM developers,

I see `ld.lld` support `symbol-ordering-file` option to support custom symbol layout. Unfortunately, there seems to be no accompanied documents on this feature. I do not know what kind of format I should use to customize the layout.

P.S. I was to use my own runtime profiling tool is generate the function placement. The code is compiled with `-ffunction-sections` and I wanted to reorder the function symbols in the final binary output.

Best.

Yifan ZHU
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/docs/attachments/20200603/b0e0e2fc/attachment.html>


More information about the Docs mailing list