[PATCH] D126344: [memprof] Keep and display symbol names in the RawMemProfReader.

Snehasish Kumar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 24 17:04:44 PDT 2022


snehasish created this revision.
snehasish added a reviewer: tejohnson.
Herald added a subscriber: hiraditya.
Herald added a project: All.
snehasish requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Extend the Frame struct to hold the symbol name if requested
when a RawMemProfReader object is constructed. This change updates the
tests and removes the need to pass --debug to obtain the mapping from
GUID to symbol names.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D126344

Files:
  llvm/include/llvm/ProfileData/MemProf.h
  llvm/include/llvm/ProfileData/RawMemProfReader.h
  llvm/lib/ProfileData/RawMemProfReader.cpp
  llvm/test/tools/llvm-profdata/memprof-basic.test
  llvm/test/tools/llvm-profdata/memprof-inline.test
  llvm/tools/llvm-profdata/llvm-profdata.cpp
  llvm/unittests/ProfileData/MemProfTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D126344.431843.patch
Type: text/x-patch
Size: 13774 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220525/5c1abadd/attachment-0001.bin>


More information about the llvm-commits mailing list