[PATCH] D43067: Implement equal_range for the DWARF v5 accelerator table

Pavel Labath via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 8 03:46:18 PST 2018


labath created this revision.
labath added reviewers: JDevlieghere, aprantl, probinson, dblaikie.

This patch implements the name lookup functionality of the .debug_names
accelerator table and hooks it up to "llvm-dwarfdump -find". To make the
interface of the two kinds of accelerator tables more consistent, I've
created an abstract "DWARFAcceleratorTable::Entry" class, which provides
a consistent interface to access the common functionality of the table
entries (such as getting the die offset, die tag, etc.). I've also
modified the apple table to vend entries conforming to this interface.


Repository:
  rL LLVM

https://reviews.llvm.org/D43067

Files:
  include/llvm/DebugInfo/DWARF/DWARFAcceleratorTable.h
  lib/DebugInfo/DWARF/DWARFAcceleratorTable.cpp
  test/tools/llvm-dwarfdump/X86/debug-names-find.s
  tools/llvm-dwarfdump/llvm-dwarfdump.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D43067.133398.patch
Type: text/x-patch
Size: 29245 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180208/2048157e/attachment.bin>


More information about the llvm-commits mailing list