Commit ed786fba authored by Eric Pouech's avatar Eric Pouech Committed by Alexandre Julliard

dbghelp: Correctly compute offsets in line number information.

parent 9d80b19e
...@@ -1410,7 +1410,7 @@ static void codeview_snarf_linetab2(const struct msc_debug_info* msc_dbg, const ...@@ -1410,7 +1410,7 @@ static void codeview_snarf_linetab2(const struct msc_debug_info* msc_dbg, const
{ {
symt_add_func_line(msc_dbg->module, func, source, symt_add_func_line(msc_dbg->module, func, source,
lines_blk->l[i].lineno ^ 0x80000000, lines_blk->l[i].lineno ^ 0x80000000,
lines_blk->l[i].offset - lines_blk->start); lines_blk->l[i].offset);
} }
break; break;
case LT2_FILES_BLOCK: /* skip */ case LT2_FILES_BLOCK: /* skip */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment