diff options
author | Teresa Johnson <tejohnson@google.com> | 2024-07-11 16:10:30 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-11 16:10:30 -0700 |
commit | 9f8205d9d8ddccd5c821c2a654805434706a43c2 (patch) | |
tree | 2340b0084eef97beb8caae47a757737d0ba0a1d3 /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | 1cafde234865cdcd37311dcd77d3ef9a3e12f177 (diff) | |
download | llvm-9f8205d9d8ddccd5c821c2a654805434706a43c2.zip llvm-9f8205d9d8ddccd5c821c2a654805434706a43c2.tar.gz llvm-9f8205d9d8ddccd5c821c2a654805434706a43c2.tar.bz2 |
[MemProf] Track and report profiled sizes through cloning (#98382)
If requested, via the -memprof-report-hinted-sizes option, track the
total profiled size of each MIB through the thin link, then report on
the corresponding allocation coldness after all cloning is complete.
To save size, a different bitcode record type is used for the allocation
info when the option is specified, and the sizes are kept separate from
the MIBs in the index.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions