[all-commits] [llvm/llvm-project] 01bb3b: [DWARFVerifier] Use the new location list api

Pavel Labath via All-commits all-commits at lists.llvm.org
Fri Nov 22 01:08:45 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 01bb3b07c346c4215a83893d15f3c6022773ef83
      https://github.com/llvm/llvm-project/commit/01bb3b07c346c4215a83893d15f3c6022773ef83
  Author: Pavel Labath <pavel at labath.sk>
  Date:   2019-11-22 (Fri, 22 Nov 2019)

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

  Log Message:
  -----------
  [DWARFVerifier] Use the new location list api

Summary:
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.

Reviewers: dblaikie, JDevlieghere, aprantl, SouraVX

Subscribers: hiraditya, probinson, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D70534




More information about the All-commits mailing list