dbghelp: Don't use .debug_frame section if non present when unwinding.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=52295 Signed-off-by: Eric Pouech <eric.pouech@gmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
3084624fbe
commit
00a11ff73d
|
@ -3774,7 +3774,8 @@ static BOOL dwarf2_fetch_frame_info(struct module* module, struct cpu* cpu, LONG
|
|||
fde_ctx.data = modfmt->u.dwarf2_info->debug_frame.address;
|
||||
fde_ctx.end_data = fde_ctx.data + modfmt->u.dwarf2_info->debug_frame.size;
|
||||
delta = module->reloc_delta;
|
||||
if (!dwarf2_get_cie(ip, module, delta, &fde_ctx, &cie_ctx, info, FALSE))
|
||||
if (modfmt->u.dwarf2_info->debug_frame.address == IMAGE_NO_MAP ||
|
||||
!dwarf2_get_cie(ip, module, delta, &fde_ctx, &cie_ctx, info, FALSE))
|
||||
{
|
||||
TRACE("Couldn't find information for %lx\n", ip);
|
||||
return FALSE;
|
||||
|
|
Loading…
Reference in New Issue