Fix off by 1 errors in line generation resulting in mangled line (#25)

information for decompilation
This commit is contained in:
Lightning 2022-10-28 19:10:07 -07:00 committed by GitHub
parent ec1b55fd4a
commit 9ecb77b91a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4659,7 +4659,7 @@ size_of_line_info ()
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_delta = line_offset - DWARF_LINE_BASE;