This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[binutils commit] DWARF-5: Extend bfd/dwarf2.c parse_comp_unit()
- From: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- To: Alan Modra <amodra at gmail dot com>
- Cc: binutils at sourceware dot org, gdb-patches at sourceware dot org
- Date: Tue, 4 Jul 2017 10:10:18 +0200
- Subject: [binutils commit] DWARF-5: Extend bfd/dwarf2.c parse_comp_unit()
- Authentication-results: sourceware.org; auth=none
- Authentication-results: ext-mx08.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com
- Authentication-results: ext-mx08.extmail.prod.ext.phx2.redhat.com; spf=pass smtp.mailfrom=jan dot kratochvil at redhat dot com
- Dkim-filter: OpenDKIM Filter v2.11.0 mx1.redhat.com 3C281C0587C8
- Dmarc-filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 3C281C0587C8
- References: <20170701105702.GA31016@host1.jankratochvil.net> <20170704040325.GC14520@bubble.grove.modra.org>
On Tue, 04 Jul 2017 06:03:25 +0200, Alan Modra wrote:
> On Sat, Jul 01, 2017 at 12:57:02PM +0200, Jan Kratochvil wrote:
> > 2017-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
> >
> > * dwarf2.c (struct dwarf2_debug): Add fields dwarf_line_str_buffer and
> > dwarf_line_str_size.
> > (struct attr_abbrev): Add field implicit_const.
> > (dwarf_debug_sections): Add .debug_line_str.
> > (enum dwarf_debug_section_enum): Add debug_line_str and debug_max.
> > (dwarf_debug_section_assert): Add static assertion.
> > (read_indirect_line_string): New.
> > (read_abbrevs): Support DW_FORM_implicit_const.
> > (is_str_attr): Support DW_FORM_line_strp.
> > (read_attribute_value): Support DW_FORM_line_strp and
> > DW_FORM_implicit_const.
> > (read_attribute): Support DW_FORM_implicit_const.
> > (line_info_add_include_dir, line_info_add_include_dir_stub):
> > (line_info_add_file_name, read_formatted_entries): New.
> > (decode_line_info, parse_comp_unit): Support DWARF 5.
> > (_bfd_dwarf2_cleanup_debug_info): Free dwarf_line_str_buffer.
>
> OK.
Checked in:
0041f7df741692954ebc112c69e5326afb0115ba
Jan