[WINESYNC] dbghelp: Clear N_PEXT flag of stab type in macho files.

Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>

wine commit id 47f1c5a993ed34e5f1e4783360019613d0f9682a by Jacek Caban <jacek@codeweavers.com>
This commit is contained in:
winesync 2020-09-11 18:46:09 +02:00 committed by Jérôme Gardou
parent e99c66b8bc
commit 2d57c6b88f
2 changed files with 4 additions and 1 deletions

View File

@ -1357,7 +1357,10 @@ BOOL stabs_parse(struct module* module, ULONG_PTR load_offset,
if (stab_ptr->n_type & N_STAB)
type = stab_ptr->n_type;
else
{
type = (stab_ptr->n_type & N_TYPE);
if (module->type == DMT_MACHO) type &= ~N_PEXT;
}
/* only symbol entries contain a typedef */
switch (type)

View File

@ -4,4 +4,4 @@ files:
include/dbghelp.h: sdk/include/psdk/dbghelp.h
include/wine/mscvpdb.h: sdk/include/reactos/wine/mscvpdb.h
tags:
wine: 208719a7507c41b77d3db9f6b8ffbcc5a4e02f3d
wine: 47f1c5a993ed34e5f1e4783360019613d0f9682a