[all-commits] [llvm/llvm-project] 1a8935: [DebugInfo] Report errors when DWARFUnitHeader::ap...

Alex Langford via All-commits all-commits at lists.llvm.org
Tue Apr 23 11:02:16 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1a8935ada7cb0bb7943e18f2bc9f6d7a89887aa8
      https://github.com/llvm/llvm-project/commit/1a8935ada7cb0bb7943e18f2bc9f6d7a89887aa8
  Author: Alex Langford <alangford at apple.com>
  Date:   2024-04-23 (Tue, 23 Apr 2024)

  Changed paths:
    M llvm/include/llvm/DebugInfo/DWARF/DWARFUnit.h
    M llvm/lib/DebugInfo/DWARF/DWARFUnit.cpp
    A llvm/test/DebugInfo/X86/invalid-cu-abbrev-contribution-dwp.s
    A llvm/test/DebugInfo/X86/invalid-cu-abbrev-offset-dwp.s
    M llvm/test/DebugInfo/X86/invalid-cu-length-dwp.s

  Log Message:
  -----------
  [DebugInfo] Report errors when DWARFUnitHeader::applyIndexEntry fails (#89156)

Motivation: LLDB is able to report errors about these scenarios whereas
LLVM's DWARF parser only gives a boolean success/fail. I want to migrate
LLDB to using LLVM's DWARFUnitHeader class, but I don't want to lose
some of the error reporting, so I'm adding it to the LLVM class first.



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