[all-commits] [llvm/llvm-project] c19a28: llvm-dwarfdump: Print warnings on invalid DWARF

Jan Kratochvil via All-commits all-commits at lists.llvm.org
Sun Jun 27 02:41:36 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c19a28919fc969a68401079532fafa6b1e44b6f4
      https://github.com/llvm/llvm-project/commit/c19a28919fc969a68401079532fafa6b1e44b6f4
  Author: Jan Kratochvil <jan.kratochvil at redhat.com>
  Date:   2021-06-27 (Sun, 27 Jun 2021)

  Changed paths:
    M llvm/include/llvm/DebugInfo/DWARF/DWARFContext.h
    M llvm/include/llvm/DebugInfo/DWARF/DWARFDebugAbbrev.h
    M llvm/include/llvm/DebugInfo/DWARF/DWARFUnit.h
    M llvm/lib/DebugInfo/DWARF/DWARFDebugAbbrev.cpp
    M llvm/lib/DebugInfo/DWARF/DWARFDebugInfoEntry.cpp
    M llvm/lib/DebugInfo/DWARF/DWARFUnit.cpp
    A llvm/test/tools/llvm-dwarfdump/X86/debug-entry-invalid.s

  Log Message:
  -----------
  llvm-dwarfdump: Print warnings on invalid DWARF

llvm-dwarfdump was silent even when the format of DWARF was invalid
and/or llvm-dwarfdump did not understand/support some of the constructs.
This can be pretty confusing as llvm-dwarfdump is a tool for DWARF
producers+consumers development.

Review comments also by @dblaikie.

Reviewed By: jhenderson

Differential Revision: https://reviews.llvm.org/D104271




More information about the All-commits mailing list