[all-commits] [llvm/llvm-project] 583e39: [DebugInfo] Fix 32-bit overflow in AppleAccelerato...

Jonas Devlieghere via All-commits all-commits at lists.llvm.org
Mon Sep 21 11:12:30 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 583e39e96333beb6b5809c94cc0607025938644b
      https://github.com/llvm/llvm-project/commit/583e39e96333beb6b5809c94cc0607025938644b
  Author: Jonas Devlieghere <jonas at devlieghere.com>
  Date:   2026-09-21 (Mon, 21 Sep 2026)

  Changed paths:
    M llvm/lib/DebugInfo/DWARF/DWARFAcceleratorTable.cpp
    A llvm/test/tools/llvm-dwarfdump/X86/apple-names-overflowing-entry-count.s

  Log Message:
  -----------
  [DebugInfo] Fix 32-bit overflow in AppleAcceleratorTable::equal_range (#224866)

Computing the end offset overflowed 32 bits before widening to 64 bits.
Because SameNameIterator stops on exact equality, a wrapped offset
caused an infinite loop.

Compute the product in 64 bits and return an empty range if the end
offset exceeds the section size.

rdar://186839483



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