================
@@ -603,6 +630,14 @@ class ProfiledBinary {
     return ProbeDecoder.getInlinerDescForProbe(Probe);
   }
 
+  void addMMapNonTextEvent(MMapEvent MMap) {
+    MMapNonTextEvents.push_back(MMap);
+  }
+
+  // Given a runtime address, canonicalize it to the virtual address in the
+  // binary.
----------------
mingmingl-llvm wrote:

Updated the comment to mention 'non-text' and added a TODO to consider unifying 
text vs non-text. I think it should be possible to do some refactoring, but not 
sure if we can completely get rid of a data-vs-text hint from caller side (e.g. 
executable's linking option may affect the code/data to segment mapping).

https://github.com/llvm/llvm-project/pull/148013
_______________________________________________
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

Reply via email to