[all-commits] [llvm/llvm-project] 8131cb: [lldb/DWARF] Add support for location lists in pac...

Pavel Labath via All-commits all-commits at lists.llvm.org
Wed Feb 19 05:38:10 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 8131cb6e18931e4cb642a1dfaa7c219c38656442
      https://github.com/llvm/llvm-project/commit/8131cb6e18931e4cb642a1dfaa7c219c38656442
  Author: Pavel Labath <pavel at labath.sk>
  Date:   2020-02-19 (Wed, 19 Feb 2020)

  Changed paths:
    M lldb/source/Core/Module.cpp
    M lldb/source/Plugins/SymbolFile/DWARF/DWARFUnit.cpp
    M lldb/source/Plugins/SymbolFile/DWARF/DWARFUnit.h
    M lldb/test/Shell/SymbolFile/DWARF/dwp.s

  Log Message:
  -----------
  [lldb/DWARF] Add support for location lists in package files

The only thing needed was to account for the offset from the
debug_cu_index section when searching for the location list.

This patch also fixes a bug in the Module::ParseAllDebugSymbols
function, which meant that we would only parse the variables of the
first compile unit in the module. This function is only used from
lldb-test, so this does not fix any real issue, besides preventing me
from writing a test for this patch.




More information about the All-commits mailing list