[PATCH] D145190: [memprof] Record BuildIDs in the raw profile.

Snehasish Kumar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 2 14:06:06 PST 2023


snehasish created this revision.
snehasish added a reviewer: tejohnson.
Herald added subscribers: Enna1, hiraditya.
Herald added a project: All.
snehasish requested review of this revision.
Herald added projects: Sanitizers, LLVM.
Herald added subscribers: llvm-commits, Sanitizers.

This patch adds support for recording BuildIds usng the sanitizer
ListOfModules API. We add another entry to the SegmentEntry struct and
change the memprof raw version.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D145190

Files:
  compiler-rt/include/profile/MemProfData.inc
  compiler-rt/lib/memprof/memprof_allocator.cpp
  compiler-rt/lib/memprof/memprof_rawprofile.cpp
  compiler-rt/lib/memprof/memprof_rawprofile.h
  compiler-rt/test/memprof/TestCases/memprof_basic.c
  compiler-rt/test/memprof/TestCases/memprof_inline.c
  compiler-rt/test/memprof/TestCases/memprof_multi.c
  llvm/include/llvm/ProfileData/MemProfData.inc
  llvm/lib/ProfileData/RawMemProfReader.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D145190.501977.patch
Type: text/x-patch
Size: 13371 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230302/84817050/attachment.bin>


More information about the llvm-commits mailing list