[llvm] [memprof] Print alloc site matches immediately (PR #142233)

Kazu Hirata via llvm-commits llvm-commits at lists.llvm.org
Sat May 31 21:44:30 PDT 2025


kazutakahirata wrote:

> lgtm, do you intend to do the same for callsites?

Thanks for reviewing the PR!

No, I don't intend to do the same for call sites.  We collect call site matches in a set where the value type is a sequence of stack IDs, basically a snippet of a call stack:

```
  // Set of the matched call sites, each expressed as a sequence of an inline
  // call stack.
  std::set<std::vector<uint64_t>> MatchedCallSites;
```


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


More information about the llvm-commits mailing list