[PATCH] D28704: Add a variant of DWARFDie::find() and DWARFDie::findRecursively() that takes a llvm::ArrayRef<dwarf::Attribute>.

Greg Clayton via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 13 14:30:21 PST 2017


clayborg created this revision.
clayborg added reviewers: dblaikie, aprantl, probinson, llvm-commits, echristo.
Herald added subscribers: jgosnell, mehdi_amini.

This allows us efficiently look for more than one attribute, something that is quite common in DWARF consumption.


https://reviews.llvm.org/D28704

Files:
  include/llvm/DebugInfo/DWARF/DWARFDie.h
  lib/DebugInfo/DWARF/DWARFDie.cpp
  lib/DebugInfo/DWARF/DWARFUnit.cpp
  tools/dsymutil/DwarfLinker.cpp
  unittests/DebugInfo/DWARF/DWARFDebugInfoTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D28704.84388.patch
Type: text/x-patch
Size: 9739 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170113/5ea05def/attachment.bin>


More information about the llvm-commits mailing list