DW_LNE_end_sequence indicates that the address points to the byte
*after* the current target sequence.
This commit is contained in:
parent
64a3914f1d
commit
124dfc8994
1 changed files with 4 additions and 0 deletions
|
@ -418,6 +418,10 @@ Sized_dwarf_line_info<size, big_endian>::process_one_opcode(
|
||||||
switch (extended_op)
|
switch (extended_op)
|
||||||
{
|
{
|
||||||
case elfcpp::DW_LNE_end_sequence:
|
case elfcpp::DW_LNE_end_sequence:
|
||||||
|
// This means that the current byte is the one immediately
|
||||||
|
// after a set of instructions. Record the current line
|
||||||
|
// for up to one less than the current address.
|
||||||
|
lsm->address -= 1;
|
||||||
lsm->end_sequence = true;
|
lsm->end_sequence = true;
|
||||||
*len = oplen;
|
*len = oplen;
|
||||||
return true;
|
return true;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue