[llvm] [MemProf] Add basic summary section support (PR #141805)

Teresa Johnson via llvm-commits llvm-commits at lists.llvm.org
Thu May 29 11:05:06 PDT 2025


================
@@ -35,6 +35,7 @@
 #include "llvm/IR/Value.h"
 #include "llvm/ProfileData/InstrProf.h"
 #include "llvm/ProfileData/InstrProfReader.h"
+#include "llvm/ProfileData/MemProfSummary.h"
----------------
teresajohnson wrote:

We also need getAllocType, which I had moved to MemProfSummary.cpp. I went ahead and created a new MemProfCommon.[h,cpp] and put computeStackId and getAllocType there, since that was straightforward and is cleaner overall.

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


More information about the llvm-commits mailing list