Lines Matching full:funcid
78 MCCVFunctionInfo *CodeViewContext::getCVFunctionInfo(unsigned FuncId) { in getCVFunctionInfo() argument
79 if (FuncId >= Functions.size()) in getCVFunctionInfo()
81 if (Functions[FuncId].isUnallocatedFunctionInfo()) in getCVFunctionInfo()
83 return &Functions[FuncId]; in getCVFunctionInfo()
86 bool CodeViewContext::recordFunctionId(unsigned FuncId) { in recordFunctionId() argument
87 if (FuncId >= Functions.size()) in recordFunctionId()
88 Functions.resize(FuncId + 1); in recordFunctionId()
91 if (!Functions[FuncId].isUnallocatedFunctionInfo()) in recordFunctionId()
95 Functions[FuncId].ParentFuncIdPlusOne = MCCVFunctionInfo::FunctionSentinel; in recordFunctionId()
99 bool CodeViewContext::recordInlinedCallSiteId(unsigned FuncId, unsigned IAFunc, in recordInlinedCallSiteId() argument
102 if (FuncId >= Functions.size()) in recordInlinedCallSiteId()
103 Functions.resize(FuncId + 1); in recordInlinedCallSiteId()
106 if (!Functions[FuncId].isUnallocatedFunctionInfo()) in recordInlinedCallSiteId()
115 MCCVFunctionInfo *Info = &Functions[FuncId]; in recordInlinedCallSiteId()
124 Info->InlinedAtMap[FuncId] = InlinedAt; in recordInlinedCallSiteId()
275 CodeViewContext::getFunctionLineEntries(unsigned FuncId) { in getFunctionLineEntries() argument
277 auto I = MCCVLineStartStop.find(FuncId); in getFunctionLineEntries()
279 MCCVFunctionInfo *SiteInfo = getCVFunctionInfo(FuncId); in getFunctionLineEntries()
283 if (LocationFuncId == FuncId) { in getFunctionLineEntries()
284 // This was a .cv_loc directly for FuncId, so record it. in getFunctionLineEntries()
301 FuncId, IA.File, IA.Line, IA.Col, false, false)); in getFunctionLineEntries()
310 std::pair<size_t, size_t> CodeViewContext::getLineExtent(unsigned FuncId) { in getLineExtent() argument
311 auto I = MCCVLineStartStop.find(FuncId); in getLineExtent()
327 unsigned FuncId, in emitLineTableForFunction() argument
341 std::vector<MCCVLoc> Locs = getFunctionLineEntries(FuncId); in emitLineTableForFunction()