diff options
| author | Teresa Johnson <tejohnson@google.com> | 2025-10-16 12:25:51 -0700 | 
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-10-16 12:25:51 -0700 | 
| commit | 2a7e7e2ac40a8bad2629a7790538e4ff608501ab (patch) | |
| tree | 18688416d9a788f8edc195caa8ed56c93c948343 /clang/unittests/Frontend/CompilerInvocationTest.cpp | |
| parent | 36c9b4fd6de9cb5665e98b816e54e8aec5592f05 (diff) | |
| download | llvm-2a7e7e2ac40a8bad2629a7790538e4ff608501ab.zip llvm-2a7e7e2ac40a8bad2629a7790538e4ff608501ab.tar.gz llvm-2a7e7e2ac40a8bad2629a7790538e4ff608501ab.tar.bz2  | |
[MemProf] Convert removal of memprof attrs and metadata to a pass (#163841)
In preparation for a follow on fix that removes these attributes and
metadata in non-LTO pipelines, convert updateMemProfAttributes to a new
MemProfRemoveInfo pass that executes at the start of the LTO backend
pass pipelines when we don't have an index indicating that we linked
with a library support hot cold operator new.
This is largely NFC from an end user perspective but changes where the
removal can be observed, hence the test updates.
A follow on change will use the new pass for non-LTO pipelines (for
cases when the bitcode is initially matched with memprof data but we
decide to complete the compile without LTO).
Diffstat (limited to 'clang/unittests/Frontend/CompilerInvocationTest.cpp')
0 files changed, 0 insertions, 0 deletions
