[all-commits] [llvm/llvm-project] 1eea3f: DWARFDebugLoclists: Add an api to get the location...

Pavel Labath via All-commits all-commits at lists.llvm.org
Wed Nov 13 07:35:11 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 1eea3fa063884e36165d122db32228f307793485
      https://github.com/llvm/llvm-project/commit/1eea3fa063884e36165d122db32228f307793485
  Author: Pavel Labath <pavel at labath.sk>
  Date:   2019-11-13 (Wed, 13 Nov 2019)

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

  Log Message:
  -----------
  DWARFDebugLoclists: Add an api to get the location lists of a DWARF unit

Summary:
This avoid the need to duplicate the location lists searching logic in
various users. The "inline location list dumping" code (which is the
only user actually updated to handle DWARF v5 location lists)  is
switched to this method. After adding v4 location list support, I'll
switch other users too.

Reviewers: dblaikie, probinson, JDevlieghere, aprantl, SouraVX

Subscribers: hiraditya, llvm-commits

Tags: #llvm

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




More information about the All-commits mailing list