[PATCH 12/13] [DbgHelp]: support for LF_VTSHAPE in MSC
Eric Pouech
eric.pouech at wanadoo.fr
Sat Mar 18 06:33:16 CST 2006
- 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
A+
---
dlls/dbghelp/msc.c | 9 +++++++++
1 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/dlls/dbghelp/msc.c b/dlls/dbghelp/msc.c
index 4513d8c..156c2ba 100644
--- a/dlls/dbghelp/msc.c
+++ b/dlls/dbghelp/msc.c
@@ -1009,6 +1009,15 @@ static struct symt* codeview_parse_one_t
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);
More information about the wine-patches
mailing list