[all-commits] [llvm/llvm-project] dbd920: Reapply [memprof] Update YAML traits for writer pu...

Kazu Hirata via All-commits all-commits at lists.llvm.org
Thu Dec 5 13:19:43 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: dbd920b290697b06b4fa1f5c1b37a0d6b91e1559
      https://github.com/llvm/llvm-project/commit/dbd920b290697b06b4fa1f5c1b37a0d6b91e1559
  Author: Kazu Hirata <kazu at google.com>
  Date:   2024-12-05 (Thu, 05 Dec 2024)

  Changed paths:
    M llvm/include/llvm/ProfileData/MemProf.h
    M llvm/unittests/ProfileData/MemProfTest.cpp

  Log Message:
  -----------
  Reapply [memprof] Update YAML traits for writer purposes (#118720)

For Frames, we prefer the inline notation for the brevity.

For PortableMemInfoBlock, we go through all member fields and print
out those that are populated.

This iteration works around the unavailability of
ScalarTraits<uintptr_t> on macOS.



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