This is an archive of the discontinued LLVM Phabricator instance.

[CSSPGO] Explicitly disallow Binary and Compact Binary profile format for CSSPGO
ClosedPublic

Authored by wenlei on Apr 26 2021, 8:26 AM.

Details

Summary

CSSPGO only supports text and extended binary profile now. Raw binary does not have the metadata section CSSPGO needs, and Compact binary profile needs special handling for GUID based context names, which is not yet implemented.

Disasslow these two format for CSSPGO profile writing to avoid silently generating invalid profiles.

Diff Detail

Event Timeline

wenlei created this revision.Apr 26 2021, 8:26 AM
wenlei requested review of this revision.Apr 26 2021, 8:26 AM
Herald added a project: Restricted Project. · View Herald TranscriptApr 26 2021, 8:26 AM
hoy accepted this revision.Apr 26 2021, 8:54 AM

lgtm, thanks.

This revision is now accepted and ready to land.Apr 26 2021, 8:54 AM
This revision was landed with ongoing or failed builds.Apr 26 2021, 9:10 AM
This revision was automatically updated to reflect the committed changes.