[llvm] [MemProf][NFC] Clear each IndexedMemProfRecord after it is written (PR #75205)

Snehasish Kumar via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 14 11:27:01 PST 2023


https://github.com/snehasish approved this pull request.

lgtm. 

It feels a little risky to clear an un-owned object but I don't see any other obvious clean way to achieve the same effect. 

https://github.com/llvm/llvm-project/pull/75205


More information about the llvm-commits mailing list