[all-commits] [llvm/llvm-project] f59d9d: [CLANG][DWARF] Handle DIE offset collision in DW_I...

Alexander Yermolovich via All-commits all-commits at lists.llvm.org
Wed Jun 12 07:04:12 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f59d9d538c7b580a93bee4afba0f098f7ddf09d9
      https://github.com/llvm/llvm-project/commit/f59d9d538c7b580a93bee4afba0f098f7ddf09d9
  Author: Alexander Yermolovich <43973793+ayermolo at users.noreply.github.com>
  Date:   2024-06-12 (Wed, 12 Jun 2024)

  Changed paths:
    M llvm/include/llvm/CodeGen/AccelTable.h
    M llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
    M llvm/lib/DWARFLinker/Classic/DWARFLinker.cpp
    M llvm/lib/DWARFLinker/Parallel/DWARFLinkerImpl.cpp
    A llvm/test/DebugInfo/X86/debug-names-types-die-offset-collision.ll

  Log Message:
  -----------
  [CLANG][DWARF] Handle DIE offset collision in DW_IDX_parent (#95039)

This fixes https://github.com/llvm/llvm-project/issues/93886. The UnitID
is not
unique between CUs and TUs. This led to DW_IDX_parent to point ot an
entry for a
DIE in a CU if it had the same relative offset as a TU die.

Added a IsTU to the hash for parent chain.



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