[all-commits] [llvm/llvm-project] d34927: [DWARFDebugRnglists] Add a callback-based version ...

Pavel Labath via All-commits all-commits at lists.llvm.org
Wed Dec 4 01:35:14 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: d34927e7dbcf77a6c0d1ab4e39158bc1f90c18f2
      https://github.com/llvm/llvm-project/commit/d34927e7dbcf77a6c0d1ab4e39158bc1f90c18f2
  Author: Pavel Labath <pavel at labath.sk>
  Date:   2019-12-04 (Wed, 04 Dec 2019)

  Changed paths:
    M llvm/include/llvm/DebugInfo/DWARF/DWARFDebugRnglists.h
    M llvm/lib/DebugInfo/DWARF/DWARFDebugRnglists.cpp

  Log Message:
  -----------
  [DWARFDebugRnglists] Add a callback-based version of the getAbsoluteRanges function

Summary:
The dump() function already accepts a callback. This makes
getAbsoluteRanges do the same. The existing DWARFUnit overload is
implemented on top of the new function.

This enables usage of the debug_rnglists parser from within lldb (which
has it's own dwarf parser).

Reviewers: dblaikie, JDevlieghere, aprantl

Subscribers: hiraditya, probinson, llvm-commits

Tags: #llvm

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




More information about the All-commits mailing list