Module: wine
Branch: refs/heads/master
Commit: 7eefc9eb0d853ad8d513ae5d66bff9afd83f515e
URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=7eefc9eb0d853ad8d513ae5…
Author: Eric Pouech <eric.pouech(a)wanadoo.fr>
Date: Sat Mar 18 13:33:16 2006 +0100
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
---
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 b181af2..734cb5f 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);