Skip to content
Merged
Changes from all commits
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
2 changes: 1 addition & 1 deletion llvm/include/llvm/ProfileData/MemProf.h
Original file line number Diff line number Diff line change
Expand Up @@ -416,7 +416,7 @@ struct IndexedMemProfRecord {
// the last entry in the list with the same function GUID.
llvm::SmallVector<CallStackId> CallSiteIds;

void clear() { AllocSites.clear(); }
void clear() { *this = IndexedMemProfRecord(); }

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