[all-commits] [llvm/llvm-project] 2028fe: [lld-macho] Handle LOH_ARM64_ADRP_LDR_GOT optimiza...

Daniel Bertalan via All-commits all-commits at lists.llvm.org
Mon Jul 4 22:36:27 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2028fe6fbca6ba03a4be85f733f2332016566c58
      https://github.com/llvm/llvm-project/commit/2028fe6fbca6ba03a4be85f733f2332016566c58
  Author: Daniel Bertalan <dani at danielbertalan.dev>
  Date:   2022-07-05 (Tue, 05 Jul 2022)

  Changed paths:
    M lld/MachO/Arch/ARM64.cpp
    A lld/test/MachO/loh-adrp-ldr-got.s

  Log Message:
  -----------
  [lld-macho] Handle LOH_ARM64_ADRP_LDR_GOT optimization hints

This hint instructs the linker to perform the AdrpLdr or AdrpAdd
transformation depending on whether the GOT load has been relaxed to
load a local symbol's address.

Differential Revision: https://reviews.llvm.org/D129059




More information about the All-commits mailing list