Support for location and range lists for split-dwarf and dwarf-5.
authorBhuvanendra Kumar N <Bhuvanendra.KumarN@amd.com>
Tue, 5 Jul 2022 11:23:45 +0000 (16:53 +0530)
committerAlok Kumar Sharma <AlokKumar.Sharma@amd.com>
Tue, 5 Jul 2022 11:26:13 +0000 (16:56 +0530)
commit4694a0e5fe233c5a33f0e4e4b99c9c92021b8c88
tree6fd01f2ffb31d1276950d6fe254004f2d93f3bf0
parentc368d2a8023052c011b5029471de4f42605c1ed3
Support for location and range lists for split-dwarf and dwarf-5.

Adding support for location and range lists for split-dwarf and dwarf-5.
Following issues are taken care.
1. Display of the index values for DW_FORM_loclistx and DW_FORM_rnglistx.
2. Display of .debug_loclists.dwo and .debug_rnglists.dwo sections.

        * dwarf.c(read_and_display_attr_value): Handle DW_FORM_loclistx
        and DW_FORM_rnglistx for .dwo files.
        (process_debug_info): Load .debug_loclists.dwo and
        .debug_rnglists.dwo if exists.
        (load_separate_debug_files): Load .debug_loclists and
        .debug_rnglists if exists.
        Include 2 entries in debug_displays table.
        * dwarf.h (enum dwarf_section_display_enum): Include 2 entries.
binutils/dwarf.c
binutils/dwarf.h