MCPcopy Create free account
hub / github.com/beefytech/Beef / RemoveLines

Method RemoveLines

IDEHelper/DbgModule.cpp:882–900  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

880}
881
882void 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
902void DbgSrcFile::RemoveLines(DbgModule* debugModule, DbgSubprogram* dbgSubprogram, bool isHotReplaced)
903{

Callers 2

HotReplaceMethodsMethod · 0.80
RemoveTargetDataMethod · 0.80

Calls 5

ClearMethod · 0.45
sizeMethod · 0.45
RemoveAtFastMethod · 0.45
AddMethod · 0.45
push_backMethod · 0.45

Tested by

no test coverage detected