Commit 3a9698f4 authored by Ken Thomases's avatar Ken Thomases Committed by Alexandre Julliard

dbghelp: Parse the DWARF information in Mach-O modules.

At this point, this is just the .eh_frame information used for walking the stack.
parent 500df921
......@@ -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;
......
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