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

Alexander Yermolovich via All-commits all-commits at lists.llvm.org
Fri Jun 14 07:44:58 PDT 2024


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

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

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

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 CU if it had the same relative offset as 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