[all-commits] [llvm/llvm-project] b6a2eb: Add support for verifying local type units in .deb...

Greg Clayton via All-commits all-commits at lists.llvm.org
Thu Aug 1 16:19:53 PDT 2024


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

  Changed paths:
    M llvm/lib/DebugInfo/DWARF/DWARFVerifier.cpp
    M llvm/test/tools/llvm-dwarfdump/X86/debug-names-verify-abbrev-forms.s
    A llvm/test/tools/llvm-dwarfdump/debug-names-local-tu-bad-die.yaml
    A llvm/test/tools/llvm-dwarfdump/debug-names-local-tu-bad-tu-index.yaml

  Log Message:
  -----------
  Add support for verifying local type units in .debug_names. (#101133)

This patch adds support for verifying local type units in .debug_names
section. It adds a test to test if the TU index is valid, and a test
that tests that an error is found inside the name entry for a type unit.
We don't need to test all other errors in the name entry because these
are essentially identical to compile unit entries, they just use a
different DWARF unit offset index.



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