[PATCH] D126059: [Debuginfo][DWARF][NFC] Add paired methods working with DWARFDebugInfoEntry.

Alexey Lapshin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri May 20 03:52:59 PDT 2022


avl created this revision.
avl added reviewers: aprantl, JDevlieghere, clayborg, dblaikie, probinson.
Herald added a subscriber: hiraditya.
Herald added a project: All.
avl requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

This review is extracted from D96035 <https://reviews.llvm.org/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.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D126059

Files:
  llvm/include/llvm/DebugInfo/DWARF/DWARFUnit.h
  llvm/lib/DebugInfo/DWARF/DWARFUnit.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D126059.430934.patch
Type: text/x-patch
Size: 8678 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220520/843a3419/attachment.bin>


More information about the llvm-commits mailing list