[all-commits] [llvm/llvm-project] 162814: [lld-macho] Include branch extension thunks in lin...

alx32 via All-commits all-commits at lists.llvm.org
Tue Jan 7 21:08:12 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 162814a7ec00e2c89693f96568b72956d1bf2f0f
      https://github.com/llvm/llvm-project/commit/162814a7ec00e2c89693f96568b72956d1bf2f0f
  Author: alx32 <103613512+alx32 at users.noreply.github.com>
  Date:   2025-01-07 (Tue, 07 Jan 2025)

  Changed paths:
    M lld/MachO/ConcatOutputSection.h
    M lld/MachO/MapFile.cpp
    M lld/MachO/OutputSection.h
    M lld/test/MachO/arm64-thunks.s

  Log Message:
  -----------
  [lld-macho] Include branch extension thunks in linker map (#120496)

This patch extends the MachO linker's map file generation to include
branch extension thunk symbols. Previously, thunks were omitted from the
map file, making it difficult to understand the final layout of the
binary, especially when debugging issues related to long branch thunks.
This change ensures thunks are included and correctly interleaved with
other symbols based on their address, providing an accurate
representation of the linked output.



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