diff options
author | Cary Coutant <ccoutant@gmail.com> | 2018-02-02 17:44:27 -0800 |
---|---|---|
committer | Cary Coutant <ccoutant@gmail.com> | 2018-02-02 17:44:27 -0800 |
commit | c83344582375e65643c5efe68b3739e87db482f3 (patch) | |
tree | 0e81d7621b64b165f7fd49643ea7928157308e70 /gold/dwarf_reader.h | |
parent | Automatic date update in version.in (diff) | |
download | binutils-gdb-c83344582375e65643c5efe68b3739e87db482f3.tar.gz binutils-gdb-c83344582375e65643c5efe68b3739e87db482f3.tar.bz2 binutils-gdb-c83344582375e65643c5efe68b3739e87db482f3.zip |
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.
Diffstat (limited to 'gold/dwarf_reader.h')
-rw-r--r-- | gold/dwarf_reader.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gold/dwarf_reader.h b/gold/dwarf_reader.h index f994bf2b08e..8c969236f1c 100644 --- a/gold/dwarf_reader.h +++ b/gold/dwarf_reader.h @@ -1070,7 +1070,8 @@ class Sized_dwarf_line_info : public Dwarf_line_info off_t total_length; int version; off_t prologue_length; - int min_insn_length; // insn stands for instructin + int min_insn_length; // insn stands for instruction + int max_ops_per_insn; // Added in DWARF-4. bool default_is_stmt; // stmt stands for statement signed char line_base; int line_range; |