mirror of
https://github.com/pmret/gcc-papermario.git
synced 2024-11-08 11:53:01 +01:00
Fix off by 1 errors in line generation resulting in mangled line (#25)
information for decompilation
This commit is contained in:
parent
ec1b55fd4a
commit
9ecb77b91a
@ -4659,7 +4659,7 @@ size_of_line_info ()
|
|||||||
size += size_of_uleb128 (current_file);
|
size += size_of_uleb128 (current_file);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (line_info->dw_line_num != current_line)
|
//if (line_info->dw_line_num != current_line)
|
||||||
{
|
{
|
||||||
line_offset = line_info->dw_line_num - current_line;
|
line_offset = line_info->dw_line_num - current_line;
|
||||||
line_delta = line_offset - DWARF_LINE_BASE;
|
line_delta = line_offset - DWARF_LINE_BASE;
|
||||||
|
Loading…
Reference in New Issue
Block a user