[llvm] [memprof] Fix IndexedMemProfRecord::clear (PR #118533)
Kazu Hirata via llvm-commits
llvm-commits at lists.llvm.org
Tue Dec 3 13:47:33 PST 2024
================
@@ -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() {
----------------
kazutakahirata wrote:
I like your suggestion much better. Thanks!
https://github.com/llvm/llvm-project/pull/118533
More information about the llvm-commits
mailing list