Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion llvm/include/llvm/ProfileData/MemProf.h
Original file line number Diff line number Diff line change
Expand Up @@ -416,7 +416,10 @@ struct IndexedMemProfRecord {
// the last entry in the list with the same function GUID.
llvm::SmallVector<CallStackId> CallSiteIds;

void clear() { AllocSites.clear(); }
void clear() {
AllocSites.clear();
CallSiteIds.clear();
}

void merge(const IndexedMemProfRecord &Other) {
// TODO: Filter out duplicates which may occur if multiple memprof
Expand Down
Loading