Lines Matching defs:FuncId
76 MCCVFunctionInfo *CodeViewContext::getCVFunctionInfo(unsigned FuncId) {
77 if (FuncId >= Functions.size())
79 if (Functions[FuncId].isUnallocatedFunctionInfo())
81 return &Functions[FuncId];
84 bool CodeViewContext::recordFunctionId(unsigned FuncId) {
85 if (FuncId >= Functions.size())
86 Functions.resize(FuncId + 1);
89 if (!Functions[FuncId].isUnallocatedFunctionInfo())
93 Functions[FuncId].ParentFuncIdPlusOne = MCCVFunctionInfo::FunctionSentinel;
97 bool CodeViewContext::recordInlinedCallSiteId(unsigned FuncId, unsigned IAFunc,
100 if (FuncId >= Functions.size())
101 Functions.resize(FuncId + 1);
104 if (!Functions[FuncId].isUnallocatedFunctionInfo())
113 MCCVFunctionInfo *Info = &Functions[FuncId];
122 Info->InlinedAtMap[FuncId] = InlinedAt;
273 CodeViewContext::getFunctionLineEntries(unsigned FuncId) {
277 std::tie(LocBegin, LocEnd) = getLineExtentIncludingInlinees(FuncId);
282 MCCVFunctionInfo *SiteInfo = getCVFunctionInfo(FuncId);
285 if (LocationFuncId == FuncId) {
286 // This was a .cv_loc directly for FuncId, so record it.
301 FilteredLines.push_back(MCCVLoc(MCCVLines[Idx].getLabel(), FuncId,
311 std::pair<size_t, size_t> CodeViewContext::getLineExtent(unsigned FuncId) {
312 auto I = MCCVLineStartStop.find(FuncId);
320 CodeViewContext::getLineExtentIncludingInlinees(unsigned FuncId) {
323 std::tie(LocBegin, LocEnd) = getLineExtent(FuncId);
326 MCCVFunctionInfo *SiteInfo = getCVFunctionInfo(FuncId);
348 unsigned FuncId,
362 std::vector<MCCVLoc> Locs = getFunctionLineEntries(FuncId);