Add support for DWARF-4 line number tables.
authorCary Coutant <ccoutant@gmail.com>
Sat, 3 Feb 2018 01:44:27 +0000 (17:44 -0800)
committerCary Coutant <ccoutant@gmail.com>
Sat, 3 Feb 2018 01:44:27 +0000 (17:44 -0800)
commitc83344582375e65643c5efe68b3739e87db482f3
tree0e81d7621b64b165f7fd49643ea7928157308e70
parentd73daf84d6c95c9f7854ed76cc566ea5b240bc97
Add support for DWARF-4 line number tables.

Reads the maximum_operations_per_instruction field, added in DWARF-4 to the
line number program header.

gold/
* PR gold/22776
* dwarf_reader.cc (Sized_dwarf_line_info::read_header_prolog): Add
support for DWARF-4 line number tables.
* dwarf_reader.h (Sized_dwarf_line_info::max_ops_per_insn): New field.
gold/ChangeLog
gold/dwarf_reader.cc
gold/dwarf_reader.h