| 880 | } |
| 881 | |
| 882 | void DbgSrcFile::RemoveLines(DbgModule* debugModule) |
| 883 | { |
| 884 | if (!mHasLineDataFromMultipleModules) |
| 885 | { |
| 886 | // Fast-out case |
| 887 | mLineDataRefs.Clear(); |
| 888 | return; |
| 889 | } |
| 890 | |
| 891 | for (int idx = 0; idx < (int)mLineDataRefs.size(); idx++) |
| 892 | { |
| 893 | auto dbgSubprogram = mLineDataRefs[idx]; |
| 894 | if (dbgSubprogram->mCompileUnit->mDbgModule == debugModule) |
| 895 | { |
| 896 | mLineDataRefs.RemoveAtFast(idx); |
| 897 | idx--; |
| 898 | } |
| 899 | } |
| 900 | } |
| 901 | |
| 902 | void DbgSrcFile::RemoveLines(DbgModule* debugModule, DbgSubprogram* dbgSubprogram, bool isHotReplaced) |
| 903 | { |
no test coverage detected