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>
feature/deterministic
Chip Davis 2020-04-05 15:09:44 -05:00 committed by Alexandre Julliard
parent f83646736b
commit 53b5c3b6c6
1 changed files with 4 additions and 0 deletions

View File

@ -74,6 +74,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
@ -1617,6 +1620,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: