Eric Pouech : include/cvconst.h: Add enumeration for newest SymTag values.

Alexandre Julliard julliard at winehq.org
Tue Sep 28 16:01:57 CDT 2021


Module: wine
Branch: master
Commit: dec1e46d0195530e888775544f2d717fa4bc625e
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=dec1e46d0195530e888775544f2d717fa4bc625e

Author: Eric Pouech <eric.pouech at gmail.com>
Date:   Tue Sep 28 17:21:49 2021 +0200

include/cvconst.h: Add enumeration for newest SymTag values.

Signed-off-by: Eric Pouech <eric.pouech at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/dbghelp/type.c | 15 +++++++++++++--
 include/cvconst.h   | 14 +++++++++++++-
 2 files changed, 26 insertions(+), 3 deletions(-)

diff --git a/dlls/dbghelp/type.c b/dlls/dbghelp/type.c
index 29d8a5350a5..70719cf6b7c 100644
--- a/dlls/dbghelp/type.c
+++ b/dlls/dbghelp/type.c
@@ -62,9 +62,9 @@ static const char* symt_get_tag_str(DWORD tag)
     case SymTagBaseClass:               return "SymTagBaseClass";
     case SymTagFriend:                  return "SymTagFriend";
     case SymTagFunctionArgType:         return "SymTagFunctionArgType,";
-    case SymTagFuncDebugStart:          return "SymTagFuncDebugStart,";
+    case SymTagFuncDebugStart:          return "SymTagFuncDebugStart";
     case SymTagFuncDebugEnd:            return "SymTagFuncDebugEnd";
-    case SymTagUsingNamespace:          return "SymTagUsingNamespace,";
+    case SymTagUsingNamespace:          return "SymTagUsingNamespace";
     case SymTagVTableShape:             return "SymTagVTableShape";
     case SymTagVTable:                  return "SymTagVTable";
     case SymTagCustom:                  return "SymTagCustom";
@@ -72,6 +72,17 @@ static const char* symt_get_tag_str(DWORD tag)
     case SymTagCustomType:              return "SymTagCustomType";
     case SymTagManagedType:             return "SymTagManagedType";
     case SymTagDimension:               return "SymTagDimension";
+    case SymTagCallSite:                return "SymTagCallSite";
+    case SymTagInlineSite:              return "SymTagInlineSite";
+    case SymTagBaseInterface:           return "SymTagBaseInterface";
+    case SymTagVectorType:              return "SymTagVectorType";
+    case SymTagMatrixType:              return "SymTagMatrixType";
+    case SymTagHLSLType:                return "SymTagHLSLType";
+    case SymTagCaller:                  return "SymTagCaller";
+    case SymTagCallee:                  return "SymTagCallee";
+    case SymTagExport:                  return "SymTagExport";
+    case SymTagHeapAllocationSite:      return "SymTagHeapAllocationSite";
+    case SymTagCoffGroup:               return "SymTagCoffGroup";
     default:                            return "---";
     }
 }
diff --git a/include/cvconst.h b/include/cvconst.h
index 95fdc9c73e5..f90c61a57fa 100644
--- a/include/cvconst.h
+++ b/include/cvconst.h
@@ -55,6 +55,17 @@ enum SymTagEnum
    SymTagCustomType,
    SymTagManagedType,
    SymTagDimension,
+   SymTagCallSite,
+   SymTagInlineSite,
+   SymTagBaseInterface,
+   SymTagVectorType,
+   SymTagMatrixType,
+   SymTagHLSLType,
+   SymTagCaller,
+   SymTagCallee,
+   SymTagExport,
+   SymTagHeapAllocationSite,
+   SymTagCoffGroup,
    SymTagMax
 };
 
@@ -103,7 +114,8 @@ enum LocationType
     LocIsSlot,
     LocIsIlRel,
     LocInMetaData,
-    LocIsConstant
+    LocIsConstant,
+    LocTypeMax
 };
 
 /* kind of SymTagData */




More information about the wine-cvs mailing list