This is an archive of the discontinued LLVM Phabricator instance.

Don't filter diagnostics written as YAML to the output file
ClosedPublic

Authored by hfinkel on Oct 3 2016, 11:39 PM.

Details

Summary

The purpose of the YAML diagnostic output file is to collect information on optimizations performed, or not performed, for later processing by tools that help users (and compiler developers) understand how code was optimized. As such, the diagnostics that appear in the file should not be coupled to what a user might want to see summarized for them as the compiler runs, and in fact, because the user likely does not know what optimization diagnostics their tools might want to use, the user cannot provide a useful filter regardless. As such, we shouldn't filter the diagnostics going to the output file.

Diff Detail

Repository
rL LLVM

Event Timeline

hfinkel updated this revision to Diff 73399.Oct 3 2016, 11:39 PM
hfinkel retitled this revision from to Don't filter diagnostics written as YAML to the output file.
hfinkel updated this object.
hfinkel added a reviewer: anemet.
hfinkel added a subscriber: llvm-commits.
anemet accepted this revision.Oct 4 2016, 9:18 AM
anemet edited edge metadata.

I agree with the direction, LGTM!

This revision is now accepted and ready to land.Oct 4 2016, 9:18 AM
This revision was automatically updated to reflect the committed changes.