dbghelp: Return error when requesting SymTagLabel's size in SymGetTypeInfo().

Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Eric Pouech 2021-10-06 10:01:42 +02:00 committed by Alexandre Julliard
parent dd572227cb
commit f3107eb095
1 changed files with 1 additions and 3 deletions

View File

@ -730,9 +730,6 @@ BOOL symt_get_info(struct module* module, const struct symt* type,
case SymTagThunk:
X(DWORD64) = ((const struct symt_thunk*)type)->size;
break;
case SymTagLabel:
X(DWORD64) = 0;
break;
default:
FIXME("Unsupported sym-tag %s for get-length\n",
symt_get_tag_str(type->tag));
@ -741,6 +738,7 @@ BOOL symt_get_info(struct module* module, const struct symt* type,
case SymTagCompiland:
case SymTagFunctionType:
case SymTagFunctionArgType:
case SymTagLabel:
return FALSE;
}
break;