dbghelp: Use symt_get_name directly in stabs_pts_read_aggregate.
This commit is contained in:
parent
956eea6b31
commit
4cc3ce923a
|
@ -655,15 +655,11 @@ static inline int stabs_pts_read_aggregate(struct ParseTypedefData* ptd,
|
||||||
if (doadd)
|
if (doadd)
|
||||||
{
|
{
|
||||||
char tmp[256];
|
char tmp[256];
|
||||||
WCHAR* name;
|
|
||||||
DWORD64 size;
|
DWORD64 size;
|
||||||
|
|
||||||
symt_get_info(adt, TI_GET_SYMNAME, &name);
|
|
||||||
strcpy(tmp, "__inherited_class_");
|
strcpy(tmp, "__inherited_class_");
|
||||||
WideCharToMultiByte(CP_ACP, 0, name, -1,
|
strcat(tmp, symt_get_name(adt));
|
||||||
tmp + strlen(tmp), sizeof(tmp) - strlen(tmp),
|
|
||||||
NULL, NULL);
|
|
||||||
HeapFree(GetProcessHeap(), 0, name);
|
|
||||||
/* FIXME: TI_GET_LENGTH will not always work, especially when adt
|
/* FIXME: TI_GET_LENGTH will not always work, especially when adt
|
||||||
* has just been seen as a forward definition and not the real stuff
|
* has just been seen as a forward definition and not the real stuff
|
||||||
* yet.
|
* yet.
|
||||||
|
|
Loading…
Reference in New Issue