[all-commits] [llvm/llvm-project] 04f211: [memprof] Refactor readMemProf (NFC) (#149663)

Kazu Hirata via All-commits all-commits at lists.llvm.org
Sun Jul 20 08:27:47 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 04f2114ab293570604c7178aaf2e4585b61ae8aa
      https://github.com/llvm/llvm-project/commit/04f2114ab293570604c7178aaf2e4585b61ae8aa
  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] Refactor readMemProf (NFC) (#149663)

This patch creates a helper function named handleAllocSite to handle
the allocation site.  It makes readMemProf a little bit shorter.

I'm planning to move the code to handle call sites in a subsequent
patch.  Doing so in this patch would make this patch a lot longer
because we need to move other things like CallSiteEntry and
CallSiteEntryHash.



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