[llvm-branch-commits] [llvm] [llvm-profgen] Extend llvm-profgen to generate vtable profiles with data access events. (PR #148013)

Mingming Liu via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Sun Jul 27 13:04:40 PDT 2025


================
@@ -185,6 +185,16 @@ class BinarySizeContextTracker {
 
 using AddressRange = std::pair<uint64_t, uint64_t>;
 
+// The parsed MMap event
+struct MMapEvent {
----------------
mingmingl-llvm wrote:

Previously this class definition is moved for ProfiledBinary class to use.

Now moved `MMapEvent` back to PerfReader.h and kept it outside `PerfReaderBase` class, and updated ProfiledBinary class to use subfields of `MMapEvent`.

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


More information about the llvm-branch-commits mailing list