Commit 70565f1b authored by Ken Thomases's avatar Ken Thomases Committed by Alexandre Julliard

dbghelp: Don't parse the DWARF info from Mach-O files if we were requested to…

dbghelp: Don't parse the DWARF info from Mach-O files if we were requested to only provide public symbols. This now works more like how the ELF and PE support works.
parent 83c1255f
......@@ -1002,9 +1002,12 @@ BOOL macho_load_debug_info(struct module* module)
macho_finish_stabs(module, &mdi.ht_symtab);
if (dwarf2_parse(module, module->reloc_delta, NULL /* FIXME: some thunks to deal with ? */,
&module->format_info[DFI_MACHO]->u.macho_info->file_map))
ret = TRUE;
if (!(dbghelp_options & SYMOPT_PUBLICS_ONLY))
{
if (dwarf2_parse(module, module->reloc_delta, NULL /* FIXME: some thunks to deal with ? */,
&module->format_info[DFI_MACHO]->u.macho_info->file_map))
ret = TRUE;
}
pool_destroy(&mdi.pool);
return ret;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment