[PATCH] D70084: DWARFDebugLoclists: Add an api to get the location lists of a DWARF unit

Pavel Labath via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 11 07:18:19 PST 2019


labath created this revision.
labath added reviewers: dblaikie, probinson, JDevlieghere, aprantl, SouraVX.
Herald added a subscriber: hiraditya.
Herald added a project: LLVM.
labath added a parent revision: D70081: DWARFDebugLoclists: add location list "interpretation" logic.

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.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D70084

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D70084.228691.patch
Type: text/x-patch
Size: 6609 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191111/6aa410c4/attachment-0001.bin>


More information about the llvm-commits mailing list