aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorTeresa Johnson <tejohnson@google.com>2025-10-23 21:28:49 -0700
committerGitHub <noreply@github.com>2025-10-23 21:28:49 -0700
commite4c308424f9fbde2b9429f5f977e92e289e10991 (patch)
treec1ada3e31105b188470c334a08d840ccb7cb45cd /clang/lib/Frontend/CompilerInvocation.cpp
parent750a58337ee8594f5253733786e066f7941d617d (diff)
downloadllvm-e4c308424f9fbde2b9429f5f977e92e289e10991.zip
llvm-e4c308424f9fbde2b9429f5f977e92e289e10991.tar.gz
llvm-e4c308424f9fbde2b9429f5f977e92e289e10991.tar.bz2
[MemProf] Fix the propagation of context/size info after inlining (#164872)
In certain cases the context/size info we use for reporting of hinted bytes in the LTO link was being dropped when we re-constructed context tries and memprof metadata after inlining. This only affected cases where we were using the -memprof-min-percent-max-cold-size option to only keep that information for the largest cold contexts, and where the pre-LTO compile did *not* specify -memprof-report-hinted-sizes. The issue is that we don't have a MaxSize, which is only available during the profile matching step. Use an existing bool indicating that we are redoing this from existing metadata to always propagate any context size metadata in that case.
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions