[all-commits] [llvm/llvm-project] ec4ddc: [BOLT] Improve Linux Kernel ORC reader

maksfb via All-commits all-commits at lists.llvm.org
Thu Jul 20 19:06:42 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ec4ddc2809a42b25fee0c9997b57920b3c81dee4
      https://github.com/llvm/llvm-project/commit/ec4ddc2809a42b25fee0c9997b57920b3c81dee4
  Author: Maksim Panchenko <maks at fb.com>
  Date:   2023-07-20 (Thu, 20 Jul 2023)

  Changed paths:
    M bolt/lib/Rewrite/LinuxKernelRewriter.cpp
    A bolt/test/X86/orc_unwind.s

  Log Message:
  -----------
  [BOLT] Improve Linux Kernel ORC reader

  * 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.

Reviewed By: Amir

Differential Revision: https://reviews.llvm.org/D155767




More information about the All-commits mailing list