| 3112 | static int gFindLineDataAt = 0; |
| 3113 | |
| 3114 | DbgLineData* WinDebugger::FindLineDataAtAddress(addr_target address, DbgSubprogram** outSubProgram, DbgSrcFile** outSrcFile, int* outLineIdx, DbgOnDemandKind onDemandKind) |
| 3115 | { |
| 3116 | gFindLineDataAt++; |
| 3117 | |
| 3118 | BP_ZONE("WinDebugger::FindLineDataAtAddress"); |
| 3119 | |
| 3120 | auto dwSubprogram = mDebugTarget->FindSubProgram((addr_target)address, onDemandKind); |
| 3121 | if (dwSubprogram == NULL) |
| 3122 | return NULL; |
| 3123 | |
| 3124 | FixupLineDataForSubprogram(dwSubprogram); |
| 3125 | auto lineData = dwSubprogram->FindClosestLine(address, outSubProgram, outSrcFile, outLineIdx); |
| 3126 | |
| 3127 | return lineData; |
| 3128 | } |
| 3129 | |
| 3130 | DbgLineData* WinDebugger::FindLineDataInSubprogram(addr_target address, DbgSubprogram* dwSubprogram) |
| 3131 | { |
nothing calls this directly
no test coverage detected