[compiler-rt] [llvm] [Memprof] Adds the option to collect AccessCountHistograms for memprof. (PR #94264)
Teresa Johnson via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 4 14:13:37 PDT 2024
================
@@ -610,13 +671,30 @@ RawMemProfReader::peekBuildIds(MemoryBuffer *DataBuffer) {
return BuildIds.takeVector();
}
+llvm::SmallVector<std::pair<uint64_t, MemInfoBlock>>
+RawMemProfReader::readMemInfoBlocks(const char *Ptr) {
----------------
teresajohnson wrote:
Can you add a FIXME here or somewhere else relevant that we should implement the Schema used by the indexed format to self describe which MIB fields exist in the raw profile, then gracefully handle the reading of older versions?
https://github.com/llvm/llvm-project/pull/94264
More information about the llvm-commits
mailing list