[all-commits] [llvm/llvm-project] 13cc94: Add support for verifying .debug_names in split DW...

Greg Clayton via All-commits all-commits at lists.llvm.org
Tue Aug 13 22:18:10 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 13cc94e30e03d3fbae78d4fb3a80ca2d40ea12ef
      https://github.com/llvm/llvm-project/commit/13cc94e30e03d3fbae78d4fb3a80ca2d40ea12ef
  Author: Greg Clayton <gclayton at fb.com>
  Date:   2024-08-13 (Tue, 13 Aug 2024)

  Changed paths:
    M llvm/include/llvm/DebugInfo/DWARF/DWARFContext.h
    M llvm/lib/DebugInfo/DWARF/DWARFContext.cpp
    M llvm/lib/DebugInfo/DWARF/DWARFVerifier.cpp
    A llvm/test/tools/llvm-dwarfdump/Inputs/verify_split_dwarf_debug_names_exe.yaml
    A llvm/test/tools/llvm-dwarfdump/Inputs/verify_split_dwarf_debug_names_main_dwo.yaml
    M llvm/test/tools/llvm-dwarfdump/X86/debug-names-verify-entries.s
    A llvm/test/tools/llvm-dwarfdump/verify_split_dwarf_debug_names.test

  Log Message:
  -----------
  Add support for verifying .debug_names in split DWARF for CUs and TUs. (#101775)

This patch fixes .debug_names verification for split DWARF with no type
units. It will print out an error for any name entries where we can't
locate the .dwo file. It finds the non skeleton unit and correctly
figures out the DIE offset in the .dwo file. If the non skeleton unit is
found and yet the skeleton unit has a DWO ID, an error will be emitted
showing we couldn't access the non-skeleton compile unit.



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