[PATCH 6/6] include/cvconst.h: added enumeration for newest SymTag values

Eric Pouech eric.pouech at gmail.com
Tue Sep 28 10:21:49 CDT 2021


Signed-off-by: Eric Pouech <eric.pouech at gmail.com>

---
 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-devel mailing list