[all-commits] [llvm/llvm-project] a28daa: [BOLT][AArch64] Keep relocations for linker-relaxe...

Maksim Panchenko via All-commits all-commits at lists.llvm.org
Wed Mar 5 23:06:22 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a28daa7c1a059a164cc6cc344f02b1a92f858c30
      https://github.com/llvm/llvm-project/commit/a28daa7c1a059a164cc6cc344f02b1a92f858c30
  Author: Maksim Panchenko <maks at fb.com>
  Date:   2025-03-05 (Wed, 05 Mar 2025)

  Changed paths:
    M bolt/lib/Core/Relocation.cpp
    M bolt/lib/Target/AArch64/AArch64MCSymbolizer.cpp

  Log Message:
  -----------
  [BOLT][AArch64] Keep relocations for linker-relaxed instructions. NFCI (#129980)

We used to filter out relocations corresponding to NOP+ADR instruction
pairs that were a result of linker "relaxation" optimization. However,
these relocations will be useful for reversing the linker optimization.
Keep the relocations and ignore them while symbolizing ADR instruction
operands.



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