Commit f3107eb0 authored by Eric Pouech's avatar Eric Pouech Committed by Alexandre Julliard

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

parent dd572227
...@@ -730,9 +730,6 @@ BOOL symt_get_info(struct module* module, const struct symt* type, ...@@ -730,9 +730,6 @@ BOOL symt_get_info(struct module* module, const struct symt* type,
case SymTagThunk: case SymTagThunk:
X(DWORD64) = ((const struct symt_thunk*)type)->size; X(DWORD64) = ((const struct symt_thunk*)type)->size;
break; break;
case SymTagLabel:
X(DWORD64) = 0;
break;
default: default:
FIXME("Unsupported sym-tag %s for get-length\n", FIXME("Unsupported sym-tag %s for get-length\n",
symt_get_tag_str(type->tag)); symt_get_tag_str(type->tag));
...@@ -741,6 +738,7 @@ BOOL symt_get_info(struct module* module, const struct symt* type, ...@@ -741,6 +738,7 @@ BOOL symt_get_info(struct module* module, const struct symt* type,
case SymTagCompiland: case SymTagCompiland:
case SymTagFunctionType: case SymTagFunctionType:
case SymTagFunctionArgType: case SymTagFunctionArgType:
case SymTagLabel:
return FALSE; return FALSE;
} }
break; break;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment