[all-commits] [llvm/llvm-project] ece341: [Debuginfo][DWARF][NFC] Add paired methods working...

avl-llvm via All-commits all-commits at lists.llvm.org
Fri Jul 29 06:41:18 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ece341f598b4d200e89040d84c7cb037e34116be
      https://github.com/llvm/llvm-project/commit/ece341f598b4d200e89040d84c7cb037e34116be
  Author: Alexey Lapshin <a.v.lapshin at mail.ru>
  Date:   2022-07-29 (Fri, 29 Jul 2022)

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

  Log Message:
  -----------
  [Debuginfo][DWARF][NFC] Add paired methods working with DWARFDebugInfoEntry.

This review is extracted from D96035.

DWARF Debuginfo classes have two representations for DIEs: DWARFDebugInfoEntry
(short) and DWARFDie(extended). Depending on the task, it might be more convenient
to use DWARFDebugInfoEntry or/and DWARFDie. DWARFUnit class already has methods
working with DWARFDie and DWARFDebugInfoEntry. This patch adds more
methods working with DWARFDebugInfoEntry to have paired functionality.

Reviewed By: aprantl

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




More information about the All-commits mailing list