1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-10 04:22:20 +02:00

Unspec variation base fix, debugger default params, debug enum type

This commit is contained in:
Brian Fiete 2022-05-31 11:01:26 -07:00
parent c076c7d3a6
commit cee266d6e6
9 changed files with 116 additions and 30 deletions

View file

@ -3206,12 +3206,7 @@ void BfIRBuilder::CreateDbgTypeDefinition(BfType* type)
if (fieldInstance->mResolvedType->IsComposite())
PopulateType(fieldInstance->mResolvedType);
BfIRMDNode constDIType;
if (resolvedFieldType->IsTypedPrimitive())
constDIType = DbgGetType(resolvedFieldType->GetUnderlyingType());//resolvedFieldType->GetUnderlyingType()->mDIType ;
else
constDIType = DbgCreateConstType(resolvedFieldDIType);
BfIRMDNode constDIType = DbgCreateConstType(resolvedFieldDIType);
if ((fieldDef->mIsExtern) && (resolvedFieldType->IsPointer()))
{
auto underlyingType = resolvedFieldType->GetUnderlyingType();