mirror of
https://github.com/reactos/wine.git
synced 2024-12-02 16:57:26 +00:00
dbghelp: Parse the DWARF information in Mach-O modules.
At this point, this is just the .eh_frame information used for walking the stack.
This commit is contained in:
parent
500df92108
commit
3a9698f4af
@ -1002,6 +1002,10 @@ 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;
|
||||
|
||||
pool_destroy(&mdi.pool);
|
||||
return ret;
|
||||
}
|
||||
@ -1125,6 +1129,7 @@ static BOOL macho_load_file(struct process* pcs, const WCHAR* filename,
|
||||
HeapFree(GetProcessHeap(), 0, modfmt);
|
||||
goto leave;
|
||||
}
|
||||
macho_info->module->reloc_delta = macho_info->module->module.BaseOfImage - fmap.u.macho.segs_start;
|
||||
macho_module_info = (void*)(modfmt + 1);
|
||||
macho_info->module->format_info[DFI_MACHO] = modfmt;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user