1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-08 11:38:21 +02:00

Fixed _T_ debug type module ids in hot-compiled modules

This commit is contained in:
Brian Fiete 2022-06-05 17:59:18 -07:00
parent 6f51eca72c
commit 8186c835b1

View file

@ -1547,7 +1547,7 @@ DbgType* DbgType::RemoveModifiers(bool* hadRef)
String DbgType::ToStringRaw(DbgLanguage language) String DbgType::ToStringRaw(DbgLanguage language)
{ {
if (mTypeIdx != -1) if (mTypeIdx != -1)
return StrFormat("_T_%d_%d", mCompileUnit->mDbgModule->mId, mTypeIdx); return StrFormat("_T_%d_%d", mCompileUnit->mDbgModule->GetLinkedModule()->mId, mTypeIdx);
return ToString(language); return ToString(language);
} }