[llvm] [StaticDataLayout][PGO]Implement reader and writer change for data access profiles (PR #139997)

Mingming Liu via llvm-commits llvm-commits at lists.llvm.org
Fri May 16 12:29:00 PDT 2025


================
@@ -35,4 +35,15 @@ HeapProfileRecords:
         - { Function: 0x7777777777777777, LineOffset: 77, Column: 70, IsInlineFrame: true }
         - { Function: 0x8888888888888888, LineOffset: 88, Column: 80, IsInlineFrame: false }
         CalleeGuids: [ 0x300 ]
+DataAccessProfiles:
----------------
mingmingl-llvm wrote:

This makes sense. Added a test file `memprof-in-no-dap.yaml` which catches a minor issue that yaml output shouldn't have `DataAccessProfiles: {}` when the struct is empty.





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


More information about the llvm-commits mailing list