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
oldstable
Eric Pouech 2006-03-18 13:33:16 +01:00 committed by Alexandre Julliard
parent e737dbec7f
commit 7eefc9eb0d
1 changed files with 9 additions and 0 deletions

View File

@ -1009,6 +1009,15 @@ static struct symt* codeview_parse_one_type(struct codeview_type_parse* ctp,
type->mfunction_v2.call);
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:
FIXME("Unsupported type-id leaf %x\n", type->generic.id);
dump(type, 2 + type->generic.len);