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
280 std::tie(LocBegin, LocEnd) = getLineExtentIncludingInlinees(FuncId); in getFunctionLineEntries()
285 MCCVFunctionInfo *SiteInfo = getCVFunctionInfo(FuncId); in getFunctionLineEntries()
288 if (LocationFuncId == FuncId) { in getFunctionLineEntries()
304 FilteredLines.push_back(MCCVLoc(MCCVLines[Idx].getLabel(), FuncId, in getFunctionLineEntries()
314 std::pair<size_t, size_t> CodeViewContext::getLineExtent(unsigned FuncId) { in getLineExtent() argument
315 auto I = MCCVLineStartStop.find(FuncId); in getLineExtent()
323 CodeViewContext::getLineExtentIncludingInlinees(unsigned FuncId) { in getLineExtentIncludingInlinees() argument
326 std::tie(LocBegin, LocEnd) = getLineExtent(FuncId); in getLineExtentIncludingInlinees()
329 MCCVFunctionInfo *SiteInfo = getCVFunctionInfo(FuncId); in getLineExtentIncludingInlinees()
351 unsigned FuncId, in emitLineTableForFunction() argument
365 std::vector<MCCVLoc> Locs = getFunctionLineEntries(FuncId); in emitLineTableForFunction()