Lines Matching refs:FuncId
79 MCCVFunctionInfo *CodeViewContext::getCVFunctionInfo(unsigned FuncId) { in getCVFunctionInfo() argument
80 if (FuncId >= Functions.size()) in getCVFunctionInfo()
82 if (Functions[FuncId].isUnallocatedFunctionInfo()) in getCVFunctionInfo()
84 return &Functions[FuncId]; in getCVFunctionInfo()
87 bool CodeViewContext::recordFunctionId(unsigned FuncId) { in recordFunctionId() argument
88 if (FuncId >= Functions.size()) in recordFunctionId()
89 Functions.resize(FuncId + 1); in recordFunctionId()
92 if (!Functions[FuncId].isUnallocatedFunctionInfo()) in recordFunctionId()
96 Functions[FuncId].ParentFuncIdPlusOne = MCCVFunctionInfo::FunctionSentinel; in recordFunctionId()
100 bool CodeViewContext::recordInlinedCallSiteId(unsigned FuncId, unsigned IAFunc, in recordInlinedCallSiteId() argument
103 if (FuncId >= Functions.size()) in recordInlinedCallSiteId()
104 Functions.resize(FuncId + 1); in recordInlinedCallSiteId()
107 if (!Functions[FuncId].isUnallocatedFunctionInfo()) in recordInlinedCallSiteId()
116 MCCVFunctionInfo *Info = &Functions[FuncId]; in recordInlinedCallSiteId()
125 Info->InlinedAtMap[FuncId] = InlinedAt; in recordInlinedCallSiteId()
276 CodeViewContext::getFunctionLineEntries(unsigned FuncId) { in getFunctionLineEntries() argument
278 auto I = MCCVLineStartStop.find(FuncId); in getFunctionLineEntries()
280 MCCVFunctionInfo *SiteInfo = getCVFunctionInfo(FuncId); in getFunctionLineEntries()
284 if (LocationFuncId == FuncId) { in getFunctionLineEntries()
302 FuncId, IA.File, IA.Line, IA.Col, false, false)); in getFunctionLineEntries()
311 std::pair<size_t, size_t> CodeViewContext::getLineExtent(unsigned FuncId) { in getLineExtent() argument
312 auto I = MCCVLineStartStop.find(FuncId); in getLineExtent()
328 unsigned FuncId, in emitLineTableForFunction() argument
342 std::vector<MCCVLoc> Locs = getFunctionLineEntries(FuncId); in emitLineTableForFunction()