[WINESYNC] dbghelp: Ignore N_INDR symbols.

These are aliases for another symbol. They are often seen on Mac OS when
a dylib reexports some symbols defined in another dylib.

Signed-off-by: Chip Davis <cdavis@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>

wine commit id 53b5c3b6c674f4bd6d02f20986598b5b6580a2d8 by Chip Davis <cdavis@codeweavers.com>
This commit is contained in:
winesync 2020-09-11 19:00:44 +02:00 committed by Jérôme Gardou
parent 9a390991b8
commit 4959c2568a
2 changed files with 5 additions and 1 deletions

View File

@ -82,6 +82,9 @@ WINE_DEFAULT_DEBUG_CHANNEL(dbghelp_stabs);
#ifndef N_ABS
#define N_ABS 0x02
#endif
#ifndef N_INDR
#define N_INDR 0x0a
#endif
#ifndef N_SECT
#define N_SECT 0x0e
#endif
@ -1625,6 +1628,7 @@ BOOL stabs_parse(struct module* module, ULONG_PTR load_offset,
case N_BNSYM:
case N_ENSYM:
case N_OSO:
case N_INDR:
/* Always ignore these, they seem to be used only on Darwin. */
break;
case N_ABS:

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: 88edff846714422c9f875fe6c9e509ee34072d27
wine: 53b5c3b6c674f4bd6d02f20986598b5b6580a2d8