This is an archive of the discontinued LLVM Phabricator instance.

[llvm-profgen] Deduplicate and improve warning for truncated context
ClosedPublic

Authored by wenlei on Sep 1 2021, 5:35 PM.

Details

Summary

This change improves the warning for truncated context by: 1) deduplicate them as one call without probe can appear in many different context leading to duplicated warnings , 2) rephrase the message to make it easier to understand. The term "untracked frame" can be confusing.

Diff Detail

Event Timeline

wenlei created this revision.Sep 1 2021, 5:35 PM
wenlei requested review of this revision.Sep 1 2021, 5:35 PM
Herald added a project: Restricted Project. · View Herald TranscriptSep 1 2021, 5:35 PM
wenlei updated this revision to Diff 370123.Sep 1 2021, 5:38 PM

fix typo

hoy added a comment.Sep 2 2021, 9:00 AM

LGTM. Thanks for the fix.

hoy accepted this revision.Sep 2 2021, 9:00 AM
This revision is now accepted and ready to land.Sep 2 2021, 9:00 AM