llvm-project
a4e1a3dc - [memprof] Add another constructor to IndexedAllocationInfo (NFC) (#116684)

Commit
320 days ago
[memprof] Add another constructor to IndexedAllocationInfo (NFC) (#116684) This patch adds another constructor to IndexedAllocationInfo that is identical to the existing constructor except that the new one leaves the CallStack field empty. I'm planning to remove MemProf format Version 1. Then we will migrate the users of the existing constructor to the new one as nobody will be using the CallStack field anymore. Adding the new constructor now allows us to migrate a few existing users of the old constructor even before we remove the CallStack field. In turn, that simplifies the patch to actually remove the field.
Parents
Loading