This gives some aggregated information about the data access profiles. The summaries are computed on the fly to save a profile version update. Implementation-wise * `MemProfSummary::printSummaryYaml` is updated to print data access summaries for v4, the profile version that started to support data access profiles. * MemProfSummary.cpp has a FIXME comment to serialize the summary into profile data, ideally batching with more substantial profile format change. * MemProfSummaryBuilder is not updated for now. This class is used to serialize memprof summaries for v4 and above by memprof writer, and to construct memprof summaries for v3 and prior versions by llvm-profdata.
19 KiB
19 KiB