mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-06 01:50:38 +00:00
Fix some errors from unhandled PDB data
This commit is contained in:
@@ -498,6 +498,17 @@ SPDBChunk::SPDBChunk(byte *data, uint32_t spdblength)
|
||||
idx++;
|
||||
break;
|
||||
}
|
||||
case LF_METHOD:
|
||||
{
|
||||
lfMethod *method = (lfMethod *)iter;
|
||||
|
||||
SPDBLOG(" [%u]: Method %s used %u times in method list %u", idx, method->Name,
|
||||
method->count, method->mList);
|
||||
|
||||
idx++;
|
||||
iter = bytes;
|
||||
break;
|
||||
}
|
||||
case LF_BCLASS:
|
||||
case LF_BINTERFACE:
|
||||
{
|
||||
@@ -580,6 +591,13 @@ SPDBChunk::SPDBChunk(byte *data, uint32_t spdblength)
|
||||
mfunction->classtype, mfunction->rvtype, mfunction->parmcount, mfunction->arglist);
|
||||
break;
|
||||
}
|
||||
case LF_METHODLIST:
|
||||
{
|
||||
lfMethodList *mlist = (lfMethodList *)leaf;
|
||||
(void)mlist;
|
||||
SPDBLOG("Type %x is a method list", id);
|
||||
break;
|
||||
}
|
||||
case LF_STRIDED_ARRAY:
|
||||
{
|
||||
lfStridedArray *stridedArray = (lfStridedArray *)leaf;
|
||||
|
||||
Reference in New Issue
Block a user