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

Method GetDbgFunc

IDEHelper/Backend/BeModule.cpp:822–843  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

820//////////////////////////////////////////////////////////////////////////
821
822BeDbgFunction* BeDbgLoc::GetDbgFunc()
823{
824 auto checkScope = mDbgScope;
825 while (checkScope != NULL)
826 {
827 if (auto inlinedScope = BeValueDynCast<BeDbgInlinedScope>(checkScope))
828 {
829 checkScope = inlinedScope->mScope;
830 }
831 if (auto dbgFunc = BeValueDynCast<BeDbgFunction>(checkScope))
832 {
833 return dbgFunc;
834 }
835 else if (auto dbgLexBlock = BeValueDynCast<BeDbgLexicalBlock>(checkScope))
836 {
837 checkScope = dbgLexBlock->mScope;
838 }
839 else
840 return NULL;
841 }
842 return NULL;
843}
844
845BeDbgFile* BeDbgLoc::GetDbgFile()
846{

Callers 2

GetInlineMatchDepthMethod · 0.80
DbgGenerateModuleInfoMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected