mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-09 03:52:19 +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;
|
||||
BfMemberSetEntry* memberSetEntry = NULL;
|
||||
if (actualTypeDef->mFieldSet.TryGetWith(fieldDef->mName, &memberSetEntry))
|
||||
if (actualTypeDef->mFieldSet.TryGetWith((StringImpl&)fieldDef->mName, &memberSetEntry))
|
||||
{
|
||||
auto checkFieldDef = (BfFieldDef*)memberSetEntry->mMemberDef;
|
||||
if ((checkFieldDef->mIsConst == fieldDef->mIsConst) &&
|
||||
|
|
|
@ -21657,7 +21657,7 @@ bool BfModule::SlotVirtualMethod(BfMethodInstance* methodInstance, BfAmbiguityCo
|
|||
lookupType->mTypeDef->PopulateMemberSets();
|
||||
BfMethodDef* nextMethodDef = NULL;
|
||||
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;
|
||||
|
||||
while (nextMethodDef != NULL)
|
||||
|
@ -22027,7 +22027,7 @@ bool BfModule::SlotVirtualMethod(BfMethodInstance* methodInstance, BfAmbiguityCo
|
|||
ifaceInst->mTypeDef->PopulateMemberSets();
|
||||
BfMethodDef* checkMethodDef = NULL;
|
||||
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;
|
||||
|
||||
while (checkMethodDef != NULL)
|
||||
|
|
|
@ -1366,7 +1366,11 @@ public:
|
|||
public:
|
||||
Val128 mDataHash;
|
||||
|
||||
#ifdef _DEBUG
|
||||
StringT<128> mModuleName;
|
||||
#else
|
||||
String mModuleName;
|
||||
#endif
|
||||
Array<BfModuleFileName> mOutFileNames;
|
||||
// SpecializedModules contain method specializations with types that come from other projects
|
||||
Dictionary<Array<BfProject*>, BfModule*> mSpecializedMethodModules;
|
||||
|
|
|
@ -490,7 +490,11 @@ public:
|
|||
class BfMemberDef
|
||||
{
|
||||
public:
|
||||
#ifdef _DEBUG
|
||||
StringT<48> mName;
|
||||
#else
|
||||
String mName;
|
||||
#endif
|
||||
BfTypeDef* mDeclaringType;
|
||||
BfProtection mProtection;
|
||||
bool mIsStatic;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue