[llvm] [MemProf] Add remarks for matched allocs and calls (PR #170379)

Teresa Johnson via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 3 11:30:12 PST 2025


teresajohnson wrote:

> I'm hesitant to have both ORE and existing debug output which differ in behaviour. In this cases the ORE is not deduplicated (as you noted in the description). Can we make them equivalent so that later it would be trivial to remove the debug output?

They fundamentally cannot be deduplicated in the same way. The remarks include both the leaf source location, as well as the function name. The current stderr is deduped across the module by full context id. I think we should have a transition period and then remove the stderr ones though.

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


More information about the llvm-commits mailing list