Eric Pouech : dbghelp/msc: Support LF_INDEX* in enumeration type definition.
Alexandre Julliard
julliard at winehq.org
Wed Jun 29 16:25:53 CDT 2022
Module: wine
Branch: master
Commit: bb52ed35327bcdc9a85ff6b771c0b04da6cb78c5
URL: https://source.winehq.org/git/wine.git/?a=commit;h=bb52ed35327bcdc9a85ff6b771c0b04da6cb78c5
Author: Eric Pouech <eric.pouech at gmail.com>
Date: Wed Jun 29 14:54:13 2022 +0200
dbghelp/msc: Support LF_INDEX* in enumeration type definition.
Signed-off-by: Eric Pouech <eric.pouech at gmail.com>
---
dlls/dbghelp/msc.c | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/dlls/dbghelp/msc.c b/dlls/dbghelp/msc.c
index 1c58b0e9cf6..ce2ad9b4e01 100644
--- a/dlls/dbghelp/msc.c
+++ b/dlls/dbghelp/msc.c
@@ -907,6 +907,18 @@ static BOOL codeview_add_type_enum_field_list(struct codeview_type_parse* ctp,
break;
}
+ case LF_INDEX_V1:
+ if (!codeview_add_type_enum_field_list(ctp, symt, type->index_v1.ref))
+ return FALSE;
+ ptr += 2 + 2;
+ break;
+
+ case LF_INDEX_V2:
+ if (!codeview_add_type_enum_field_list(ctp, symt, type->index_v2.ref))
+ return FALSE;
+ ptr += 2 + 2 + 4;
+ break;
+
default:
FIXME("Unsupported type %04x in ENUM field list\n", type->generic.id);
return FALSE;
More information about the wine-cvs
mailing list