[all-commits] [llvm/llvm-project] 9e89d1: [memprof] Add MemProf format Version 3 (#93608)

Kazu Hirata via All-commits all-commits at lists.llvm.org
Tue May 28 13:30:21 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9e89d107a6ec2ade15eddb549fa473cf09bf230e
      https://github.com/llvm/llvm-project/commit/9e89d107a6ec2ade15eddb549fa473cf09bf230e
  Author: Kazu Hirata <kazu at google.com>
  Date:   2024-05-28 (Tue, 28 May 2024)

  Changed paths:
    M llvm/include/llvm/ProfileData/MemProf.h
    M llvm/lib/ProfileData/InstrProfReader.cpp
    M llvm/lib/ProfileData/InstrProfWriter.cpp
    M llvm/lib/ProfileData/MemProf.cpp
    M llvm/test/tools/llvm-profdata/memprof-merge-versions.test
    M llvm/tools/llvm-profdata/llvm-profdata.cpp

  Log Message:
  -----------
  [memprof] Add MemProf format Version 3 (#93608)

This patch adds Version 3 for development purposes.  For now, this
patch adds V3 as a copy of V2.

For the most part, this patch adds "case Version3:" wherever "case
Version2:" appears.  One exception is writeMemProfV3, which is copied
from writeMemProfV2 but updated to write out memprof::Version3 to the
MemProf header.  We'll incrementally modify writeMemProfV3 in
subsequent patches.



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