[all-commits] [llvm/llvm-project] 5ee8e6: [lldb/DWARF] Fix DW_AT_rnglists_base handling for ...

Pavel Labath via All-commits all-commits at lists.llvm.org
Fri Dec 6 01:27:05 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 5ee8e673135891072789f0f9bf14a5d82f0f8e01
      https://github.com/llvm/llvm-project/commit/5ee8e673135891072789f0f9bf14a5d82f0f8e01
  Author: Pavel Labath <pavel at labath.sk>
  Date:   2019-12-06 (Fri, 06 Dec 2019)

  Changed paths:
    M lldb/source/Plugins/SymbolFile/DWARF/DWARFUnit.cpp
    A lldb/test/Shell/SymbolFile/DWARF/debug_rnglists-dwo.s

  Log Message:
  -----------
  [lldb/DWARF] Fix DW_AT_rnglists_base handling for dwo files

the value of DW_AT_rnglists_base of the skeleton unit is for that unit
alone (e.g. used in DW_AT_ranges of the unit DIE) and should not apply
to the split unit.

The split unit has a hardcoded range list base value -- we should
initialize range list code whenever we detect a nonempty
debug_rnglists.dwo section.




More information about the All-commits mailing list