mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-09 20:12:21 +02:00
Improved minidump debugging
This commit is contained in:
parent
60b162ba90
commit
9332693132
4 changed files with 11 additions and 3 deletions
|
@ -4181,7 +4181,7 @@ void BfCompiler::ProcessAutocompleteTempType()
|
||||||
|
|
||||||
BfFieldDef* actualFieldDef = NULL;
|
BfFieldDef* actualFieldDef = NULL;
|
||||||
BfMemberSetEntry* memberSetEntry = NULL;
|
BfMemberSetEntry* memberSetEntry = NULL;
|
||||||
if (actualTypeDef->mFieldSet.TryGetWith(fieldDef->mName, &memberSetEntry))
|
if (actualTypeDef->mFieldSet.TryGetWith((StringImpl&)fieldDef->mName, &memberSetEntry))
|
||||||
{
|
{
|
||||||
auto checkFieldDef = (BfFieldDef*)memberSetEntry->mMemberDef;
|
auto checkFieldDef = (BfFieldDef*)memberSetEntry->mMemberDef;
|
||||||
if ((checkFieldDef->mIsConst == fieldDef->mIsConst) &&
|
if ((checkFieldDef->mIsConst == fieldDef->mIsConst) &&
|
||||||
|
|
|
@ -21657,7 +21657,7 @@ bool BfModule::SlotVirtualMethod(BfMethodInstance* methodInstance, BfAmbiguityCo
|
||||||
lookupType->mTypeDef->PopulateMemberSets();
|
lookupType->mTypeDef->PopulateMemberSets();
|
||||||
BfMethodDef* nextMethodDef = NULL;
|
BfMethodDef* nextMethodDef = NULL;
|
||||||
BfMemberSetEntry* entry;
|
BfMemberSetEntry* entry;
|
||||||
if (lookupType->mTypeDef->mMethodSet.TryGetWith(methodInstance->mMethodDef->mName, &entry))
|
if (lookupType->mTypeDef->mMethodSet.TryGetWith((StringImpl&)methodInstance->mMethodDef->mName, &entry))
|
||||||
nextMethodDef = (BfMethodDef*)entry->mMemberDef;
|
nextMethodDef = (BfMethodDef*)entry->mMemberDef;
|
||||||
|
|
||||||
while (nextMethodDef != NULL)
|
while (nextMethodDef != NULL)
|
||||||
|
@ -22027,7 +22027,7 @@ bool BfModule::SlotVirtualMethod(BfMethodInstance* methodInstance, BfAmbiguityCo
|
||||||
ifaceInst->mTypeDef->PopulateMemberSets();
|
ifaceInst->mTypeDef->PopulateMemberSets();
|
||||||
BfMethodDef* checkMethodDef = NULL;
|
BfMethodDef* checkMethodDef = NULL;
|
||||||
BfMemberSetEntry* entry;
|
BfMemberSetEntry* entry;
|
||||||
if (ifaceInst->mTypeDef->mMethodSet.TryGetWith(methodInstance->mMethodDef->mName, &entry))
|
if (ifaceInst->mTypeDef->mMethodSet.TryGetWith((StringImpl&)methodInstance->mMethodDef->mName, &entry))
|
||||||
checkMethodDef = (BfMethodDef*)entry->mMemberDef;
|
checkMethodDef = (BfMethodDef*)entry->mMemberDef;
|
||||||
|
|
||||||
while (checkMethodDef != NULL)
|
while (checkMethodDef != NULL)
|
||||||
|
|
|
@ -1366,7 +1366,11 @@ public:
|
||||||
public:
|
public:
|
||||||
Val128 mDataHash;
|
Val128 mDataHash;
|
||||||
|
|
||||||
|
#ifdef _DEBUG
|
||||||
|
StringT<128> mModuleName;
|
||||||
|
#else
|
||||||
String mModuleName;
|
String mModuleName;
|
||||||
|
#endif
|
||||||
Array<BfModuleFileName> mOutFileNames;
|
Array<BfModuleFileName> mOutFileNames;
|
||||||
// SpecializedModules contain method specializations with types that come from other projects
|
// SpecializedModules contain method specializations with types that come from other projects
|
||||||
Dictionary<Array<BfProject*>, BfModule*> mSpecializedMethodModules;
|
Dictionary<Array<BfProject*>, BfModule*> mSpecializedMethodModules;
|
||||||
|
|
|
@ -490,7 +490,11 @@ public:
|
||||||
class BfMemberDef
|
class BfMemberDef
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
#ifdef _DEBUG
|
||||||
|
StringT<48> mName;
|
||||||
|
#else
|
||||||
String mName;
|
String mName;
|
||||||
|
#endif
|
||||||
BfTypeDef* mDeclaringType;
|
BfTypeDef* mDeclaringType;
|
||||||
BfProtection mProtection;
|
BfProtection mProtection;
|
||||||
bool mIsStatic;
|
bool mIsStatic;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue