[all-commits] [llvm/llvm-project] 1dad62: [MemProf] Add memprof metadata related analysis ut...

Teresa Johnson via All-commits all-commits at lists.llvm.org
Thu Jul 21 13:46:23 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1dad6247d275c5787cbc3131174d9c4aa543e653
      https://github.com/llvm/llvm-project/commit/1dad6247d275c5787cbc3131174d9c4aa543e653
  Author: Teresa Johnson <tejohnson at google.com>
  Date:   2022-07-21 (Thu, 21 Jul 2022)

  Changed paths:
    A llvm/include/llvm/Analysis/MemoryProfileInfo.h
    M llvm/lib/Analysis/CMakeLists.txt
    A llvm/lib/Analysis/MemoryProfileInfo.cpp
    M llvm/unittests/Analysis/CMakeLists.txt
    A llvm/unittests/Analysis/MemoryProfileInfoTest.cpp

  Log Message:
  -----------
  [MemProf] Add memprof metadata related analysis utilities

Adds a number of utilities that are used to help create and update
memprof related metadata. These will be used during profile matching
and annotation, as well as by the inliner when updating the metadata.
Also adds unit tests for the utilities.

See also related RFCs:
RFC: Sanitizer-based Heap Profiler [1]
RFC: A binary serialization format for MemProf [2]
RFC: IR metadata format for MemProf [3]
(Note that the IR metadata format has changed from the RFC during
implementation, as described in the preceeding patch adding the basic
metadata and verification support.)

Depends on D128141.

Differential Revision: https://reviews.llvm.org/D128854




More information about the All-commits mailing list