[all-commits] [llvm/llvm-project] fd32e7: [BOLT] Add support for Linux kernel PCI fixup sect...

Maksim Panchenko via All-commits all-commits at lists.llvm.org
Tue Mar 12 15:52:49 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: fd32e744a58fe61b4bd6acfa1d501bc1d6c1d96f
      https://github.com/llvm/llvm-project/commit/fd32e744a58fe61b4bd6acfa1d501bc1d6c1d96f
  Author: Maksim Panchenko <maks at fb.com>
  Date:   2024-03-12 (Tue, 12 Mar 2024)

  Changed paths:
    M bolt/lib/Rewrite/LinuxKernelRewriter.cpp
    A bolt/test/X86/linux-pci-fixup.s

  Log Message:
  -----------
  [BOLT] Add support for Linux kernel PCI fixup section (#84982)

.pci_fixup section contains a table with entries allowing to invoke a
fixup hook whenever a problem is encountered with a PCI device. The
hookup code typically points to the start of a function. As we are not
relocating functions in the kernel (at least not yet), verify this
assumption while reading the table and ignore any functions with a fixup
code in the middle.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list