[all-commits] [llvm/llvm-project] 16cd5c: [BOLT] Ignore AArch64 markers outside their sectio...

Jacob Bramley via All-commits all-commits at lists.llvm.org
Thu Nov 7 04:16:35 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 16cd5cdf4d6387e34d2bb723bc26c331c8d89d75
      https://github.com/llvm/llvm-project/commit/16cd5cdf4d6387e34d2bb723bc26c331c8d89d75
  Author: Jacob Bramley <jacob.bramley at arm.com>
  Date:   2024-11-07 (Thu, 07 Nov 2024)

  Changed paths:
    M bolt/lib/Rewrite/RewriteInstance.cpp
    A bolt/test/AArch64/Inputs/spurious-marker-symbol.yaml
    A bolt/test/AArch64/spurious-marker-symbol.test
    M llvm/include/llvm/Object/ObjectFile.h

  Log Message:
  -----------
  [BOLT] Ignore AArch64 markers outside their sections. (#74106)

AArch64 uses $d and $x symbols to delimit data embedded in code.
However, sometimes we see $d symbols, typically in .eh_frame, with
addresses that belong to different sections. These occasionally fall
inside .text functions and cause BOLT to stop disassembling, which in
turn causes DWARF CFA processing to fail.

As a workaround, we just ignore symbols with addresses outside the
section they belong to. This behaviour is consistent with objdump and
similar tools.



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