From 4959c2568ac6f91c111e2b51f2d2bfaa07377981 Mon Sep 17 00:00:00 2001 From: winesync Date: Fri, 11 Sep 2020 19:00:44 +0200 Subject: [PATCH] [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 Signed-off-by: Alexandre Julliard wine commit id 53b5c3b6c674f4bd6d02f20986598b5b6580a2d8 by Chip Davis --- dll/win32/dbghelp/stabs.c | 4 ++++ sdk/tools/winesync/dbghelp.cfg | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/dll/win32/dbghelp/stabs.c b/dll/win32/dbghelp/stabs.c index 0d28ae1415a..bb56b0d6e3d 100644 --- a/dll/win32/dbghelp/stabs.c +++ b/dll/win32/dbghelp/stabs.c @@ -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: diff --git a/sdk/tools/winesync/dbghelp.cfg b/sdk/tools/winesync/dbghelp.cfg index ca1bf61b150..62645fd8735 100644 --- a/sdk/tools/winesync/dbghelp.cfg +++ b/sdk/tools/winesync/dbghelp.cfg @@ -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