[PDB] Avoid calling discoverTypeIndices for a known record kind
This particular overload allocates memory, and we do this for every S_[GL]PROC32_ID record. Instead, hardcode the offset of the typeindex that we are looking for in the LF_[MEM]FUNC_ID record. We already assumed that looking up the item index already found a record of this kind.
parent
0b85ea85
Please register or sign in to comment