[all-commits] [llvm/llvm-project] 923011: [BOLT] Use compact EH format for fixed-address exe...

Maksim Panchenko via All-commits all-commits at lists.llvm.org
Fri Nov 22 00:29:16 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 92301180f7e2d240c560f621f6fc1b07217cac01
      https://github.com/llvm/llvm-project/commit/92301180f7e2d240c560f621f6fc1b07217cac01
  Author: Maksim Panchenko <maks at fb.com>
  Date:   2024-11-22 (Fri, 22 Nov 2024)

  Changed paths:
    M bolt/lib/Core/BinaryEmitter.cpp
    M bolt/lib/Passes/SplitFunctions.cpp
    A bolt/test/X86/exceptions-compact.s

  Log Message:
  -----------
  [BOLT] Use compact EH format for fixed-address executables (#117274)

Use ULEB128 format for emitting LSDAs for fixed-address executables,
similar to what we use for PIEs/DSOs. Main difference is that we don't
use landing pad trampolines when landing pads are not contained in a
single fragment. Instead, we fallback to emitting larger fixed-address
LSDAs, which is still better than adding trampoline instructions.



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