This is an archive of the discontinued LLVM Phabricator instance.

[memprof] Use unknown_function error type for missing functions
ClosedPublic

Authored by tejohnson on May 4 2022, 11:56 AM.

Details

Summary

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.

Diff Detail

Event Timeline

tejohnson created this revision.May 4 2022, 11:56 AM
Herald added a project: Restricted Project. · View Herald TranscriptMay 4 2022, 11:56 AM
tejohnson requested review of this revision.May 4 2022, 11:56 AM
Herald added a project: Restricted Project. · View Herald TranscriptMay 4 2022, 11:56 AM
This revision is now accepted and ready to land.May 4 2022, 12:00 PM
This revision was landed with ongoing or failed builds.May 4 2022, 1:03 PM
This revision was automatically updated to reflect the committed changes.