[llvm-branch-commits] [compiler-rt] [llvm] [ctxprof] Track unhandled call targets (PR #131417)
Snehasish Kumar via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Mon Mar 17 21:10:06 PDT 2025
================
@@ -83,6 +84,20 @@ struct ContextRoot {
// Count the number of entries - regardless if we could take the `Taken` mutex
::__sanitizer::atomic_uint64_t TotalEntries = {};
+ // Profiles for functions we encounter when collecting a contexutal profile,
+ // that are not associated with a callsite. This is expected to happen for
+ // signal handlers, but it also - problematically - currently happens for
+ // mem{memset|copy|move|set}, which are currently inserted after profile
----------------
snehasish wrote:
Maybe just generalize this statement to "it also happens for functions generated after profile instrumention e.g. mem{set|copy|move}".
https://github.com/llvm/llvm-project/pull/131417
More information about the llvm-branch-commits
mailing list