mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
addr2line.c: DW_LNS_fixed_advance_pc takes a single uhalf operand
Fixes [Bug #17609] Co-Authored-By: xtkoba (Tee KOBAYASHI) <xtkoba+ruby@gmail.com>
This commit is contained in:
parent
90f008f569
commit
7d22060c14
1 changed files with 2 additions and 1 deletions
|
@ -437,7 +437,8 @@ parse_debug_line_cu(int num_traces, void **traces, char **debug_line,
|
|||
addr += a;
|
||||
break;
|
||||
case DW_LNS_fixed_advance_pc:
|
||||
a = *(unsigned char *)p++;
|
||||
a = *(uint16_t *)p;
|
||||
p += sizeof(uint16_t);
|
||||
addr += a;
|
||||
break;
|
||||
case DW_LNS_set_prologue_end:
|
||||
|
|
Loading…
Reference in a new issue