[PATCH] dbghelp: Ignore N_INDR symbols.
Chip Davis
cdavis at codeweavers.com
Sun Apr 5 15:09:44 CDT 2020
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 at codeweavers.com>
---
dlls/dbghelp/stabs.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/dlls/dbghelp/stabs.c b/dlls/dbghelp/stabs.c
index 9ac3089d02e..a7238655274 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:
--
2.24.0
More information about the wine-devel
mailing list