[WINESYNC] dbghelp: Recompute location after fixing it.

Fix a assertion raised by every exception with newer clang versions (>3.7) at least on ARM64:
../../../dlls/dbghelp/dwarf.c:1641: void dwarf2_parse_variable(dwarf2_subprogram_t *, struct symt_block *, dwarf2_debug_info_t *): Assertion `subpgm->func' failed.

Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>

wine commit id 3d482d3f9f0a3ffa69540af87594b3c1dc46e07b by André Hentschel <nerv@dawncrow.de>
This commit is contained in:
winesync 2020-09-11 13:14:08 +02:00 committed by Jérôme Gardou
parent d119141669
commit d3247b3f59
2 changed files with 20 additions and 19 deletions

View file

@ -953,6 +953,7 @@ static BOOL dwarf2_compute_location_attr(dwarf2_parse_context_t* ctx,
#else
loc->offset = (uintptr_t)ptr;
#endif
compute_location(&lctx, loc, NULL, frame);
}
}
return TRUE;

View file

@ -3,4 +3,4 @@ directories:
files:
include/dbghelp.h: sdk/include/psdk/dbghelp.h
tags:
wine: 86864486be64a277f6edf8e66709cd0f17a4eed9
wine: 3d482d3f9f0a3ffa69540af87594b3c1dc46e07b