[all-commits] [llvm/llvm-project] 655294: [memprof] Use unknown_function error type for miss...

Teresa Johnson via All-commits all-commits at lists.llvm.org
Wed May 4 13:02:54 PDT 2022

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 655294866cf8fa719b240a7e9fe51de9a2c48ddc
  Author: Teresa Johnson <tejohnson at google.com>
  Date:   2022-05-04 (Wed, 04 May 2022)

  Changed paths:
    M llvm/lib/ProfileData/InstrProfReader.cpp
    M llvm/unittests/ProfileData/InstrProfTest.cpp

  Log Message:
  [memprof] Use unknown_function error type for missing functions

Switch the error type when a function is not found in the memprof
profile to unknown_function. This gives compatibility with normal PGO
function matching, and also prevents issuing large numbers of additional
matching errors since pgo-warn-missing-function is off by default.

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

More information about the All-commits mailing list