[all-commits] [llvm/llvm-project] 208a11: Reapply "llvm-dwarfdump: Report errors when failin...

David Blaikie via All-commits all-commits at lists.llvm.org
Tue Apr 14 14:44:53 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 208a11ab3a7be7c3e5d3fae9dd4affdb01a0ed1f
      https://github.com/llvm/llvm-project/commit/208a11ab3a7be7c3e5d3fae9dd4affdb01a0ed1f
  Author: David Blaikie <dblaikie at gmail.com>
  Date:   2020-04-14 (Tue, 14 Apr 2020)

  Changed paths:
    M lldb/source/Expression/DWARFExpression.cpp
    M lldb/test/Shell/SymbolFile/DWARF/debug_loc.s
    M llvm/lib/DebugInfo/DWARF/DWARFDebugLoc.cpp
    M llvm/test/DebugInfo/X86/dwarfdump-debug-loc-error-cases.s
    M llvm/test/DebugInfo/X86/dwarfdump-debug-loc-error-cases2.s
    M llvm/test/DebugInfo/X86/dwarfdump-debug-loclists-error-cases.s
    M llvm/test/DebugInfo/X86/dwarfdump-debug-loclists-error-cases2.s
    M llvm/test/DebugInfo/X86/dwarfdump-ranges-baseaddr.s
    M llvm/test/DebugInfo/X86/dwarfdump-str-offsets-invalid-6.s
    M llvm/test/tools/llvm-dwarfdump/X86/debug_addr_address_size_not_multiple.s
    M llvm/test/tools/llvm-dwarfdump/X86/debug_addr_invalid_addr_size.s
    M llvm/test/tools/llvm-dwarfdump/X86/debug_addr_reserved_length.s
    M llvm/test/tools/llvm-dwarfdump/X86/debug_addr_segment_selector.s
    M llvm/test/tools/llvm-dwarfdump/X86/debug_addr_small_length_field.s
    M llvm/test/tools/llvm-dwarfdump/X86/debug_addr_too_small_for_extended_length_field.s
    M llvm/test/tools/llvm-dwarfdump/X86/debug_addr_too_small_for_length_field.s
    M llvm/test/tools/llvm-dwarfdump/X86/debug_addr_too_small_for_section.s
    M llvm/test/tools/llvm-dwarfdump/X86/debug_addr_unsupported_version.s
    M llvm/test/tools/llvm-dwarfdump/X86/debug_rnglists.s
    M llvm/test/tools/llvm-dwarfdump/X86/debug_rnglists_invalid.s
    M llvm/test/tools/llvm-dwarfdump/X86/debug_rnglists_reserved_length.s
    M llvm/tools/llvm-dwarfdump/llvm-dwarfdump.cpp

  Log Message:
  -----------
  Reapply "llvm-dwarfdump: Report errors when failing to parse loclist/debug_loc entries""

Originally committed as 416fa7720e30750939c53935051c6c750dfad2c2
Reverted (due to buildbot failure - breaking lldb) in 7a45aeacf3a23449039ef2efcf476995ae1c7007.

I still can't seem to build lldb locally, but Pavel Labath has kindly
provided a potential fix to preserve the old behavior in lldb by
registering a simple recoverable error handler there that prints to the
desired stream in lldb, rather than stderr.




More information about the All-commits mailing list