[all-commits] [llvm/llvm-project] 540893: [BOLT] Add auto parsing for Linux kernel .altinstr...

Maksim Panchenko via All-commits all-commits at lists.llvm.org
Tue Jun 11 10:53:13 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 540893e43fb7a5e08deec0d951fd3c1d957f8f89
      https://github.com/llvm/llvm-project/commit/540893e43fb7a5e08deec0d951fd3c1d957f8f89
  Author: Maksim Panchenko <maks at fb.com>
  Date:   2024-06-11 (Tue, 11 Jun 2024)

  Changed paths:
    M bolt/lib/Rewrite/LinuxKernelRewriter.cpp
    M bolt/test/X86/linux-alt-instruction.s

  Log Message:
  -----------
  [BOLT] Add auto parsing for Linux kernel .altinstructions (#95068)

.altinstructions section contains a list of structures where fields can
have different sizes while other fields could be present or not
depending on the kernel version. Add automatic detection of such
variations and use it by default. The user can still overwrite the
automatic detection with `--alt-inst-has-padlen` and
`--alt-inst-feature-size` options.



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