[PATCH] dbghelp: Fix build failure on macOS.

Huw Davies huw at codeweavers.com
Tue Nov 27 03:01:48 CST 2018


This was caused by commit 8d096fb5e262e5e87866d1a4a397da144a09b635.

Signed-off-by: Huw Davies <huw at codeweavers.com>
---
 dlls/dbghelp/macho_module.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/dbghelp/macho_module.c b/dlls/dbghelp/macho_module.c
index a3f838f88f..a0623352a7 100644
--- a/dlls/dbghelp/macho_module.c
+++ b/dlls/dbghelp/macho_module.c
@@ -1096,7 +1096,7 @@ static void macho_finish_stabs(struct module* module, struct hash_table* ht_symt
 
         if (ste->is_public && !(dbghelp_options & SYMOPT_NO_PUBLICS))
         {
-            symt_new_public(module, ste->compiland, ste->ht_elt.name, ste->addr, 0);
+            symt_new_public(module, ste->compiland, ste->ht_elt.name, ste->is_code, ste->addr, 0);
         }
     }
 }
-- 
2.18.0




More information about the wine-devel mailing list