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

dbghelp: Handle address of labels not included in functions.

(MASM generate those) Signed-off-by: 's avatarEric Pouech <eric.pouech@gmail.com> Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
parent e1132a6e
......@@ -160,7 +160,7 @@ BOOL symt_get_address(const struct symt* type, ULONG64* addr)
case SymTagLabel:
if (!((const struct symt_hierarchy_point*)type)->parent ||
!symt_get_address(((const struct symt_hierarchy_point*)type)->parent, addr))
return FALSE;
*addr = 0;
*addr += ((const struct symt_hierarchy_point*)type)->loc.offset;
break;
case SymTagThunk:
......
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