Module: wine Branch: master Commit: 53b5c3b6c674f4bd6d02f20986598b5b6580a2d8 URL: https://source.winehq.org/git/wine.git/?a=commit;h=53b5c3b6c674f4bd6d02f2098...
Author: Chip Davis cdavis@codeweavers.com Date: Sun Apr 5 15:09:44 2020 -0500
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
---
dlls/dbghelp/stabs.c | 4 ++++ 1 file changed, 4 insertions(+)
diff --git a/dlls/dbghelp/stabs.c b/dlls/dbghelp/stabs.c index 9ac3089d02..a723865527 100644 --- a/dlls/dbghelp/stabs.c +++ b/dlls/dbghelp/stabs.c @@ -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: