mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 12:32:20 +02:00
Fleshing out comptime debugging
This commit is contained in:
parent
ff2e40e3bf
commit
b334423106
28 changed files with 2079 additions and 780 deletions
|
@ -464,7 +464,7 @@ bool BfModule::AddDeferredCallEntry(BfDeferredCallEntry* deferredCallEntry, BfSc
|
|||
listEntry->mDynList.PushFront(deferredCallEntry);
|
||||
}
|
||||
|
||||
if ((mBfIRBuilder->DbgHasInfo()) && (mCompiler->mOptions.mEmitDebugInfo) && (mCurMethodState->mCurScope->mDIScope))
|
||||
if ((mBfIRBuilder->DbgHasInfo()) && (mHasFullDebugInfo) && (mCompiler->mOptions.mEmitDebugInfo) && (mCurMethodState->mCurScope->mDIScope))
|
||||
{
|
||||
auto int64Type = GetPrimitiveType(BfTypeCode_Int64);
|
||||
auto moduleMethodInstance = deferredCallEntry->mModuleMethodInstance;
|
||||
|
@ -511,7 +511,7 @@ bool BfModule::AddDeferredCallEntry(BfDeferredCallEntry* deferredCallEntry, BfSc
|
|||
diFieldTypes.push_back(memberType);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
int diFlags = 0;
|
||||
mBfIRBuilder->DbgMakePermanent(diForwardDecl, BfIRMDNode(), diFieldTypes);
|
||||
deferDIType = mBfIRBuilder->DbgCreatePointerType(diForwardDecl);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue