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.
This commit is contained in:
parent
83c1255f66
commit
70565f1b8b
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue