[all-commits] [llvm/llvm-project] ec5197: [memprof] Keep and display symbol names in the Raw...

Snehasish Kumar via All-commits all-commits at lists.llvm.org
Wed May 25 14:17:57 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ec51971eae02a031bbfd992cf59e1f6acdadbeeb
      https://github.com/llvm/llvm-project/commit/ec51971eae02a031bbfd992cf59e1f6acdadbeeb
  Author: Snehasish Kumar <snehasishk at google.com>
  Date:   2022-05-25 (Wed, 25 May 2022)

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

  Log Message:
  -----------
  [memprof] Keep and display symbol names in the RawMemProfReader.

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.

Reviewed By: tejohnson

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




More information about the All-commits mailing list