[all-commits] [llvm/llvm-project] 46f5da: [memprof] Make HeapProfileRecords optional (#155671)

Kazu Hirata via All-commits all-commits at lists.llvm.org
Wed Aug 27 17:00:09 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 46f5daeeed2b2206140fce2e03cf9d11da32d0ec
      https://github.com/llvm/llvm-project/commit/46f5daeeed2b2206140fce2e03cf9d11da32d0ec
  Author: Kazu Hirata <kazu at google.com>
  Date:   2025-08-27 (Wed, 27 Aug 2025)

  Changed paths:
    M llvm/include/llvm/ProfileData/DataAccessProf.h
    M llvm/include/llvm/ProfileData/MemProfYAML.h
    M llvm/test/tools/llvm-profdata/memprof-yaml.test
    M llvm/tools/llvm-profdata/llvm-profdata.cpp

  Log Message:
  -----------
  [memprof] Make HeapProfileRecords optional (#155671)

memprof::AllMemProfData has become home to multiple types of memprof
data -- heap profile and static data profile.  When we write test
cases for static data profile in YAML, we do not want to include empty
heap profile.  That would just add visual clutter.

This patch makes HeapProfileRecords optional.



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