[PATCH 13/19] dbghelp: return lexical parent of SymTag(FuncDebugStart|FuncDebugEnd|Label) in SymGetTypeInfo()

Eric Pouech eric.pouech at gmail.com
Wed Oct 6 03:01:54 CDT 2021


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

---
 dlls/dbghelp/type.c |    5 +++++
 1 file changed, 5 insertions(+)

diff --git a/dlls/dbghelp/type.c b/dlls/dbghelp/type.c
index b45e79e9946..4e322ea5364 100644
--- a/dlls/dbghelp/type.c
+++ b/dlls/dbghelp/type.c
@@ -761,6 +761,11 @@ BOOL symt_get_info(struct module* module, const struct symt* type,
         case SymTagThunk:
             X(DWORD) = symt_ptr2index(module, ((const struct symt_thunk*)type)->container);
             break;
+        case SymTagFuncDebugStart:
+        case SymTagFuncDebugEnd:
+        case SymTagLabel:
+            X(DWORD) = symt_ptr2index(module, ((const struct symt_hierarchy_point*)type)->parent);
+            break;
         case SymTagUDT:
         case SymTagEnum:
         case SymTagFunctionType:




More information about the wine-devel mailing list