| 7432 | } |
| 7433 | |
| 7434 | void DbgModule::ReportMemory(MemReporter* memReporter) |
| 7435 | { |
| 7436 | //memReporter->Add("BumpAlloc_Used", mAlloc.GetAllocSize()); |
| 7437 | //memReporter->Add("BumpAlloc_Unused", mAlloc.GetTotalAllocSize() - mAlloc.GetAllocSize()); |
| 7438 | |
| 7439 | memReporter->AddBumpAlloc("BumpAlloc", mAlloc); |
| 7440 | memReporter->AddVec(mTypes); |
| 7441 | memReporter->AddVec(mSubprograms); |
| 7442 | //memReporter->Add("TypeMap", mTypeMap.mAlloc.GetTotalAllocSize() + sizeof(StrHashMap<DbgType*>)); |
| 7443 | memReporter->AddHashSet("TypeMap", mTypeMap.mMap); |
| 7444 | memReporter->Add("SymbolNameMap", mSymbolNameMap.mAlloc.GetTotalAllocSize() + sizeof(StrHashMap<DbgType*>)); |
| 7445 | |
| 7446 | if (mOrigImageData != NULL) |
| 7447 | { |
| 7448 | memReporter->BeginSection("OrigImageData"); |
| 7449 | mOrigImageData->ReportMemory(memReporter); |
| 7450 | memReporter->EndSection(); |
| 7451 | } |
| 7452 | } |
| 7453 | |
| 7454 | DbgType* DbgModule::GetPointerType(DbgType* innerType) |
| 7455 | { |
nothing calls this directly
no test coverage detected