[all-commits] [llvm/llvm-project] 0edc32: [memprof] Canonicalize the function name prior to ...

Snehasish Kumar via All-commits all-commits at lists.llvm.org
Tue Aug 29 13:45:52 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0edc32fda5a75c6ea8719f709baa3ad493942512
      https://github.com/llvm/llvm-project/commit/0edc32fda5a75c6ea8719f709baa3ad493942512
  Author: Snehasish Kumar <snehasishk at google.com>
  Date:   2023-08-29 (Tue, 29 Aug 2023)

  Changed paths:
    M llvm/lib/ProfileData/MemProf.cpp
    M llvm/lib/ProfileData/RawMemProfReader.cpp
    M llvm/unittests/ProfileData/MemProfTest.cpp

  Log Message:
  -----------
  [memprof] Canonicalize the function name prior to hashing.

Canonicalize the function name (strip suffixes etc) to ensure that
function name suffixes added by late stage passes do not cause
mismatches when memprof profile data is consumed.

Reviewed By: tejohnson

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




More information about the All-commits mailing list