Signed-off-by: Eric Pouech eric.pouech@gmail.com
--- include/wine/mscvpdb.h | 10 ++++++++++ tools/winedump/msc.c | 8 ++++++++ 2 files changed, 18 insertions(+)
diff --git a/include/wine/mscvpdb.h b/include/wine/mscvpdb.h index 766f20d2732..a72e0b58158 100644 --- a/include/wine/mscvpdb.h +++ b/include/wine/mscvpdb.h @@ -1881,6 +1881,16 @@ union codeview_symbol unsigned int invocations[0]; /* array of count entries, paires with funcs */ #endif } function_list_v3; + + struct + { + unsigned short int len; + unsigned short int id; + cv_typ_t typind; + unsigned int modOffset; + unsigned short varflags; + char name[1]; + } file_static_v3; };
enum BinaryAnnotationOpcode diff --git a/tools/winedump/msc.c b/tools/winedump/msc.c index 62152ed6ea0..65e6beb1006 100644 --- a/tools/winedump/msc.c +++ b/tools/winedump/msc.c @@ -1800,6 +1800,14 @@ BOOL codeview_dump_symbols(const void* root, unsigned long size) sym->heap_alloc_site_v3.index); break;
+ case S_FILESTATIC: + printf("File-static V3 '%s' type:%04x modOff:%08x flags:%s\n", + sym->file_static_v3.name, + sym->file_static_v3.typind, + sym->file_static_v3.modOffset, + get_varflags(sym->file_static_v3.varflags)); + break; + default: printf("\n\t\t>>> Unsupported symbol-id %x sz=%d\n", sym->generic.id, sym->generic.len + 2); dump_data((const void*)sym, sym->generic.len + 2, " ");