[llvm] [MemProf] Use radix tree for alloc contexts in bitcode summaries (PR #117066)
Snehasish Kumar via llvm-commits
llvm-commits at lists.llvm.org
Fri Nov 22 11:45:26 PST 2024
================
@@ -7544,6 +7550,47 @@ void ModuleSummaryIndexBitcodeReader::parseTypeIdCompatibleVtableSummaryRecord(
parseTypeIdCompatibleVtableInfo(Record, Slot, TypeId);
}
+SmallVector<unsigned> ModuleSummaryIndexBitcodeReader::parseAllocInfoContext(
+ ArrayRef<uint64_t> Record, unsigned &I) {
+ SmallVector<unsigned> StackIdList;
+ // For backwards compatibility with old format before radix tree was
+ // used, simply see if we found a radix tree array record.
----------------
snehasish wrote:
Should this be "simply see if we found a stack entry record"?
https://github.com/llvm/llvm-project/pull/117066
More information about the llvm-commits
mailing list