Commit 611d5e47 authored by Eric Pouech's avatar Eric Pouech Committed by Alexandre Julliard

dbghelp: Correctly initialize module word_size field when only the eh_frame is…

dbghelp: Correctly initialize module word_size field when only the eh_frame is present (and not compilation unit).
parent 83286061
......@@ -3366,6 +3366,9 @@ BOOL dwarf2_parse(struct module* module, unsigned long load_offset,
dwarf2_modfmt->module->module.SourceIndexed = TRUE;
dwarf2_modfmt->module->module.Publics = TRUE;
/* set the word_size for eh_frame parsing */
dwarf2_modfmt->u.dwarf2_info->word_size = fmap->addr_size / 8;
leave:
image_unmap_section(&debug_sect);
image_unmap_section(&debug_abbrev_sect);
......
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