[commit] dwarf2read.c (dwarf_decode_lines_1): Add comment.
Commit Message
Hi.
While hacking on this function the use of p_record_line wasn't as
clear as I wished it was. I wrote this comment to help clear
things up for me.
2014-08-15 Doug Evans <dje@google.com>
* dwarf2read.c (dwarf_decode_lines_1): Add comment.
@@ -17298,6 +17298,8 @@ dwarf_decode_lines_1 (struct line_header *lh, const char *comp_dir,
"[in module %s]"),
line_offset, objfile_name (objfile));
p_record_line = noop_record_line;
+ /* Note: p_record_line is left as noop_record_line
+ until we see DW_LNE_end_sequence. */
}
op_index = 0;