[all-commits] [llvm/llvm-project] 51e222: [BOLT][AArch64] Fix crash for conditional tail cal...

Maksim Panchenko via All-commits all-commits at lists.llvm.org
Tue May 20 10:38:22 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 51e222ef48222e6e5745b96a484164dbdcaea239
      https://github.com/llvm/llvm-project/commit/51e222ef48222e6e5745b96a484164dbdcaea239
  Author: Maksim Panchenko <maks at fb.com>
  Date:   2025-05-20 (Tue, 20 May 2025)

  Changed paths:
    M bolt/lib/Core/BinaryFunction.cpp
    M bolt/test/AArch64/lite-mode.s

  Log Message:
  -----------
  [BOLT][AArch64] Fix crash for conditional tail calls (#140669)

When conditional tail call is located in old code while BOLT is
operating in lite mode, the call will require optional pending
relocation with a type that is currently not supported resulting in a
build-time crash.

Before a proper fix is implemented, ignore conditional tail calls for
relocation purposes and mark their target functions to be patched, i.e.
to be served as veneers/thunks.



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