[all-commits] [llvm/llvm-project] 27923f: [LLD][AArch64][ARM] Delay adding long thunk mappin...

Peter Smith via All-commits all-commits at lists.llvm.org
Thu Nov 21 06:26:47 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 27923f7e1ab6fd2239835722f3cc2b6c7a46027c
      https://github.com/llvm/llvm-project/commit/27923f7e1ab6fd2239835722f3cc2b6c7a46027c
  Author: Peter Smith <peter.smith at arm.com>
  Date:   2024-11-21 (Thu, 21 Nov 2024)

  Changed paths:
    M lld/ELF/Thunks.cpp
    M lld/test/ELF/aarch64-thunk-bti-multipass.s

  Log Message:
  -----------
  [LLD][AArch64][ARM] Delay adding long thunk mapping symbols (#116975)

When we create a thunk we don't know whether it will be short or long.
Move the emission of the long thunk mapping symbol to when we transition
to a long thunk. This improves disassembly and binary analysis as tools
like BOLT identify thunks by disassembly.

This removes a FIXME added in #108989 aarch64-thunk-bti-multipass.s
which had a corrupt disassembly due to missing mapping symbols.



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