llvm-project
699320a9 - [MemProf] Propagate size info used for hint reporting to duplicates (#172535)

Commit
155 days ago
[MemProf] Propagate size info used for hint reporting to duplicates (#172535) When we duplicate contexts (due to clones e.g. matching different inlined instances), we were propagating the allocation type but not the ContextSizeInfo, which is used for -memprof-report-hinted-sizes. This meant that we never reported hinting for any of the duplicated contexts, which can result in conservative results as in some cases only the duplicated contexts are able to be cloned and hinted. Note that this change could result in overly optimistic reporting in some cases.
Author
Parents
Loading