[all-commits] [llvm/llvm-project] c1b84d: [DebugInfo] Add error handling to DWARFDebugAbbrev...

Alex via All-commits all-commits at lists.llvm.org
Tue Jun 27 10:32:59 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c1b84d9b7c084419fb7df13ab3dc1b9d5a14f6dd
      https://github.com/llvm/llvm-project/commit/c1b84d9b7c084419fb7df13ab3dc1b9d5a14f6dd
  Author: Alex Langford <alangford at apple.com>
  Date:   2023-06-27 (Tue, 27 Jun 2023)

  Changed paths:
    M llvm/include/llvm/DebugInfo/DWARF/DWARFDebugAbbrev.h
    M llvm/lib/DebugInfo/DWARF/DWARFDebugAbbrev.cpp
    M llvm/lib/DebugInfo/DWARF/DWARFUnit.cpp
    M llvm/lib/DebugInfo/DWARF/DWARFVerifier.cpp
    M llvm/test/tools/llvm-dwarfdump/X86/empty-CU.s

  Log Message:
  -----------
  [DebugInfo] Add error handling to DWARFDebugAbbrev::getAbbreviationDeclarationSet

This gives us more meaningful information when
`getAbbreviationDeclarationSet` fails. Right now only
`verifyAbbrevSection` actually uses the error that it returns, but the
other call sites could be rewritten to take advantage of the returned error.

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




More information about the All-commits mailing list