[PATCH] D155767: [BOLT] Improve Linux ORC reader

Maksim Panchenko via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 19 17:25:04 PDT 2023


maksfb created this revision.
maksfb added reviewers: treapster, jobnoorman, yota9, Amir, ayermolo, rafauler.
Herald added a subscriber: mgrang.
Herald added a project: All.
maksfb requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

- Sort ORC entries in the internal table. Older Linux kernels did not sort them in the file (only during boot time).
- Add an option to dump sorted ORC tables (--dump-orc).
- Associate entries in the internal ORC table with a BinaryFunction even when we are not changing the function.
- If the function doesn't have ORC entry at the start, propagate ORC state from a previous entry.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D155767

Files:
  bolt/lib/Rewrite/LinuxKernelRewriter.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D155767.542257.patch
Type: text/x-patch
Size: 4927 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230720/16248cc5/attachment.bin>


More information about the llvm-commits mailing list