[PATCH] D70534: [DWARFVerifier] Use the new location list api

Pavel Labath via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 21 05:02:35 PST 2019


labath created this revision.
labath added reviewers: dblaikie, JDevlieghere, aprantl, SouraVX.
Herald added a subscriber: hiraditya.
Herald added a project: LLVM.

Instead of going to the debug_loc section directly, use new
DWARFDie::getLocations instead. This means that the code will now
automatically support debug_loclists sections.

This is the last usage of the old debug_loc methods, and they can now be
removed.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D70534

Files:
  llvm/include/llvm/DebugInfo/DWARF/DWARFDebugLoc.h
  llvm/lib/DebugInfo/DWARF/DWARFContext.cpp
  llvm/lib/DebugInfo/DWARF/DWARFDebugLoc.cpp
  llvm/lib/DebugInfo/DWARF/DWARFVerifier.cpp
  llvm/test/tools/llvm-dwarfdump/X86/debug-names-verify-completeness.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D70534.230431.patch
Type: text/x-patch
Size: 8397 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191121/39d7b497/attachment-0001.bin>


More information about the llvm-commits mailing list