This is an archive of the discontinued LLVM Phabricator instance.

[AMDGPU] Print metadata on error
ClosedPublic

Authored by Flakebi on Oct 12 2020, 8:02 AM.

Details

Summary

If the metadata is valid yaml, we can print it, even if it failed
validation. That makes it easier to debug any wrong metadata.

Diff Detail

Event Timeline

Flakebi created this revision.Oct 12 2020, 8:02 AM
Herald added a project: Restricted Project. · View Herald Transcript
Flakebi requested review of this revision.Oct 12 2020, 8:02 AM
arsenm accepted this revision.Oct 12 2020, 8:03 AM
This revision is now accepted and ready to land.Oct 12 2020, 8:03 AM
This revision was landed with ongoing or failed builds.Oct 12 2020, 8:22 AM
This revision was automatically updated to reflect the committed changes.

Seems like a reasonable idea. Test case?