[llvm] [clang] [libc] [clang-tools-extra] [libcxx] [lld] [flang] [compiler-rt] [libcxxabi] [CSSPGO] Compute and report post-match profile staleness (PR #79090)

via cfe-commits cfe-commits at lists.llvm.org
Wed Jan 24 14:28:21 PST 2024


================
@@ -433,12 +433,19 @@ using CandidateQueue =
     PriorityQueue<InlineCandidate, std::vector<InlineCandidate>,
                   CandidateComparer>;
 
+using IRAnchorMap = std::map<LineLocation, StringRef>;
+using ProfileAnchorMap = std::map<LineLocation, std::unordered_set<FunctionId>>;
----------------
WenleiHe wrote:

As standalone types, add a comment explaining the key/value of the maps? Maybe just can move the original comments for these types here.

https://github.com/llvm/llvm-project/pull/79090


More information about the cfe-commits mailing list