[lldb] Fix#2 of DW_AT_ranges DW_FORM_sec_offset not using DW_AT_rnglists_base (used...
authorJan Kratochvil <jan.kratochvil@redhat.com>
Tue, 17 Aug 2021 20:16:43 +0000 (22:16 +0200)
committerJan Kratochvil <jan.kratochvil@redhat.com>
Tue, 17 Aug 2021 20:19:16 +0000 (22:19 +0200)
commite21a21a977b492cc7172779d080db146e3c39e06
tree9b04584fb910645cd3ef9f2e4162a9310589e230
parentd42be2d63ccf0cb38d218ee67746d6e108685a71
[lldb] Fix#2 of DW_AT_ranges DW_FORM_sec_offset not using DW_AT_rnglists_base (used by GCC)

Fix D98289 so that it works even for 2nd..nth compilation unit
(.debug_rnglists).

Reviewed By: dblaikie, ikudrin

Differential Revision: https://reviews.llvm.org/D106466
lldb/source/Plugins/SymbolFile/DWARF/DWARFUnit.cpp
lldb/test/Shell/SymbolFile/DWARF/DW_AT_range-DW_FORM_sec_offset.s