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:
parent
dd572227cb
commit
f3107eb095
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue