Lines Matching full:funcid
74 MCCVFunctionInfo *CodeViewContext::getCVFunctionInfo(unsigned FuncId) {
75 if (FuncId >= Functions.size())
77 if (Functions[FuncId].isUnallocatedFunctionInfo())
79 return &Functions[FuncId];
82 bool CodeViewContext::recordFunctionId(unsigned FuncId) {
83 if (FuncId >= Functions.size())
84 Functions.resize(FuncId + 1);
87 if (!Functions[FuncId].isUnallocatedFunctionInfo())
91 Functions[FuncId].ParentFuncIdPlusOne = MCCVFunctionInfo::FunctionSentinel;
95 bool CodeViewContext::recordInlinedCallSiteId(unsigned FuncId, unsigned IAFunc,
98 if (FuncId >= Functions.size())
99 Functions.resize(FuncId + 1);
102 if (!Functions[FuncId].isUnallocatedFunctionInfo())
111 MCCVFunctionInfo *Info = &Functions[FuncId];
120 Info->InlinedAtMap[FuncId] = InlinedAt;
261 CodeViewContext::getFunctionLineEntries(unsigned FuncId) {
265 std::tie(LocBegin, LocEnd) = getLineExtentIncludingInlinees(FuncId);
270 MCCVFunctionInfo *SiteInfo = getCVFunctionInfo(FuncId);
273 if (LocationFuncId == FuncId) {
274 // This was a .cv_loc directly for FuncId, so record it.
289 FilteredLines.push_back(MCCVLoc(MCCVLines[Idx].getLabel(), FuncId,
299 std::pair<size_t, size_t> CodeViewContext::getLineExtent(unsigned FuncId) {
300 auto I = MCCVLineStartStop.find(FuncId);
308 CodeViewContext::getLineExtentIncludingInlinees(unsigned FuncId) {
311 std::tie(LocBegin, LocEnd) = getLineExtent(FuncId);
314 MCCVFunctionInfo *SiteInfo = getCVFunctionInfo(FuncId);
336 unsigned FuncId,
350 std::vector<MCCVLoc> Locs = getFunctionLineEntries(FuncId);