Commit 85fb74a6 authored by Eric Pouech's avatar Eric Pouech Committed by Alexandre Julliard

dbghelp: In dwarf debug info, use the same name of anonymous UDT as pdb.

It's hard coded by msvc in PDB information, so adapt dwarf to advertize the same. Signed-off-by: 's avatarEric Pouech <eric.pouech@gmail.com>
parent c385b647
......@@ -1764,7 +1764,7 @@ static struct symt* dwarf2_parse_udt_type(dwarf2_debug_info_t* di,
/* quirk... FIXME provide real support for anonymous UDTs */
if (!dwarf2_find_attribute(di, DW_AT_name, &name))
name.u.string = "zz_anon_zz";
name.u.string = "<unnamed-tag>";
if (!dwarf2_find_attribute(di, DW_AT_byte_size, &size)) size.u.uvalue = 0;
di->symt = &symt_new_udt(di->unit_ctx->module_ctx->module, dwarf2_get_cpp_name(di, name.u.string),
......
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