Eric Pouech : dbghelp: Report once FIXME of unsupported requests in SymGetTypeInfo().

Alexandre Julliard julliard at winehq.org
Wed Oct 6 15:51:37 CDT 2021


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

Author: Eric Pouech <eric.pouech at gmail.com>
Date:   Wed Oct  6 10:02:06 2021 +0200

dbghelp: Report once FIXME of unsupported requests in SymGetTypeInfo().

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

---

 dlls/dbghelp/type.c | 18 ++++++++----------
 1 file changed, 8 insertions(+), 10 deletions(-)

diff --git a/dlls/dbghelp/type.c b/dlls/dbghelp/type.c
index eaec124c57b..ee6e1865fa8 100644
--- a/dlls/dbghelp/type.c
+++ b/dlls/dbghelp/type.c
@@ -970,17 +970,15 @@ BOOL symt_get_info(struct module* module, const struct symt* type,
 
 #undef X
 
-    case TI_GET_ADDRESSOFFSET:
-    case TI_GET_SYMINDEX:
-    case TI_GET_THISADJUST:
-    case TI_GET_VIRTUALBASECLASS:
-    case TI_GET_VIRTUALBASEPOINTEROFFSET:
-    case TI_GET_VIRTUALTABLESHAPEID:
-    case TI_IS_EQUIV_TO:
-        FIXME("Unsupported GetInfo request (%u)\n", req);
-        return FALSE;
     default:
-        FIXME("Unknown GetInfo request (%u)\n", req);
+        {
+            static DWORD64 once;
+            if (!(once & ((DWORD64)1 << req)))
+            {
+                FIXME("Unsupported GetInfo request (%u)\n", req);
+                once |= (DWORD64)1 << req;
+            }
+        }
         return FALSE;
     }
 




More information about the wine-cvs mailing list