[all-commits] [llvm/llvm-project] b5588c: [LLD][MachO][NFC] Refactor LOH code (#141153)

Ellis Hoag via All-commits all-commits at lists.llvm.org
Tue May 27 08:24:47 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b5588ce746755b4aaf071ab19a403099c8334f84
      https://github.com/llvm/llvm-project/commit/b5588ce746755b4aaf071ab19a403099c8334f84
  Author: Ellis Hoag <ellis.sparky.hoag at gmail.com>
  Date:   2025-05-27 (Tue, 27 May 2025)

  Changed paths:
    M lld/MachO/Arch/ARM64.cpp

  Log Message:
  -----------
  [LLD][MachO][NFC] Refactor LOH code (#141153)

In `applyAdrpAddLdr()` we make a transformation that is identical to the
one in `applyAdrpAdd()`, so lets reuse that code. Also refactor
`forEachHint()` to use more `ArrayRef` and move around some lines for
consistancy.



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