[PATCH] D128382: [LLD] Two tweaks to symbol ordering scheme

Nathan Lanza via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 24 16:53:57 PDT 2022


lanza added a comment.

One interesting note Shoaib and I just discovered is that ~16.5% of the libraries in one of our major apps have `.text` sections starting on the first page of the dso. Placing hot sections at the front of the `.text` section would give us a slice of a "free page" that, with the current algorithm, would just be cold code that's less likely to be used. I imagine this isn't a substantial difference but it's probably slightly in favor of placing hot code first here.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D128382/new/

https://reviews.llvm.org/D128382



More information about the llvm-commits mailing list