[all-commits] [llvm/llvm-project] 507ff2: [memprof] Introduce handleCallSite (NFC) (#149724)

Kazu Hirata via All-commits all-commits at lists.llvm.org
Sun Jul 20 20:42:39 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 507ff29c9bdb43e78cf0e5aac82972ed3b2907b7
      https://github.com/llvm/llvm-project/commit/507ff29c9bdb43e78cf0e5aac82972ed3b2907b7
  Author: Kazu Hirata <kazu at google.com>
  Date:   2025-07-20 (Sun, 20 Jul 2025)

  Changed paths:
    M llvm/lib/Transforms/Instrumentation/MemProfUse.cpp

  Log Message:
  -----------
  [memprof] Introduce handleCallSite (NFC) (#149724)

Continuing the effort to refactor readMemProf, this patch introduces
handlCallSite to handle, well, call sites.

Moving the code requires taking CallSiteEntry and CallSiteEntryHash
out of readMemProf.

We could simplify some code, but I'm keeping this patch very simple to
facilitate the review process.  For example, we could simplify the
control flow near the end of readMemProf, but we can address that
later.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list