[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
Fri Jul 18 14:51:45 PDT 2025
================
@@ -598,6 +612,12 @@ class PerfScriptReader : public PerfReaderBase {
// Entry of the reader to parse multiple perf traces
void parsePerfTraces() override;
+
+ // Parse a single line of a PERF_RECORD_MMAP event looking for a
+ // mapping between the binary name and its memory layout.
+ static bool extractMMapEventForBinary(ProfiledBinary *Binary, StringRef Line,
----------------
mingmingl-llvm wrote:
Sure. How does it sound if I do this in a separate change to minimize the code diff? Added a TODO in the comment if that's fine.
https://github.com/llvm/llvm-project/pull/148013
More information about the llvm-branch-commits
mailing list