Commit 7eefc9eb authored by Eric Pouech's avatar Eric Pouech Committed by Alexandre Julliard

dbghelp: Support for LF_VTSHAPE in MSC.

- added preliminary support for VT (virtual table) shape type record - as we don't do C++, it's just a hack to get rid of some errors
parent e737dbec
...@@ -1009,6 +1009,15 @@ static struct symt* codeview_parse_one_type(struct codeview_type_parse* ctp, ...@@ -1009,6 +1009,15 @@ static struct symt* codeview_parse_one_type(struct codeview_type_parse* ctp,
type->mfunction_v2.call); type->mfunction_v2.call);
break; break;
case LF_VTSHAPE_V1:
/* this is an ugly hack... FIXME when we have C++ support */
if (!(symt = existing))
{
char buf[128];
snprintf(buf, sizeof(buf), "__internal_vt_shape_%x\n", curr_type);
symt = &symt_new_udt(ctp->module, buf, 0, UdtStruct)->symt;
}
break;
default: default:
FIXME("Unsupported type-id leaf %x\n", type->generic.id); FIXME("Unsupported type-id leaf %x\n", type->generic.id);
dump(type, 2 + type->generic.len); dump(type, 2 + type->generic.len);
......
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