diff options
| author | Kazu Hirata <kazu@google.com> | 2024-05-16 10:35:45 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-05-16 10:35:45 -0700 |
| commit | 0dc80e4b2640f80a5b421e6e636d2a7243150917 (patch) | |
| tree | 6d882f26c7032482672c6298e97827983bf077c4 /lldb/source/Commands/CommandObjectThread.cpp | |
| parent | c7ae8c6639370ccbc583dca019bbb78761ce423d (diff) | |
| download | llvm-0dc80e4b2640f80a5b421e6e636d2a7243150917.zip llvm-0dc80e4b2640f80a5b421e6e636d2a7243150917.tar.gz llvm-0dc80e4b2640f80a5b421e6e636d2a7243150917.tar.bz2 | |
[memprof] Group MemProf data structures into a struct (NFC) (#92360)
This patch groups the three Memprof data structures into a struct
named IndexedMemProfData and teaches InstrProfWriter to use it. This
way, we can pass IndexedMemProfData to writeMemProf and its helpers
instead of individual data structures.
As a follow-up, we can use the new struct in MemProfReader also. That
in turn allows loadInput in llvm-profdata to move the MemProf data
into the writer context, saving a few seconds for a large MemProf
profile.
Diffstat (limited to 'lldb/source/Commands/CommandObjectThread.cpp')
0 files changed, 0 insertions, 0 deletions
