1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-08 03:28:20 +02:00

Fixed sTypes lookups with LLVM debug info

This commit is contained in:
Brian Fiete 2020-08-25 11:25:22 -07:00
parent 78cdfd5d24
commit dbbbed4528
4 changed files with 44 additions and 22 deletions

View file

@ -1234,7 +1234,8 @@ String WinDebugger::GetDbgAllocInfo()
auto type = exprEvaluator.GetBeefTypeById(typeId);
typeName.Clear();
exprEvaluator.BeefTypeToString(type, typeName);
if (typeName.IsEmpty())
typeName = StrFormat("Type #%d", typeId);
result += StrFormat("type\t%d\t%s\t%lld\t%lld\n", typeId, typeName.c_str(), typeData.mCount, typeData.mSize);
}
}