[PATCH] D19678: Annotated-source optimization reports (a.k.a. "listing" files)

John McCall via cfe-commits cfe-commits at lists.llvm.org
Thu Apr 28 14:53:28 PDT 2016


rjmccall added a comment.

In http://reviews.llvm.org/D19678#416059, @hfinkel wrote:

> In http://reviews.llvm.org/D19678#415844, @rjmccall wrote:
>
> > I see what you're going for with "listing file", but I like ICC's option name much better, or at least something along those lines.
>
>
> Sounds good to me. Do you have a preference on -fopt-report vs. -foptimization-report vs. something else? Do you have an opinion on the default file-name extension for the report? Maybe I should name it .opt-report (or something like that)?


I don't think we have a consistent abbreviation for that anywhere else in the options (other than -O, I guess), so my inclination would be to spell it out as -foptimization-report.

The extension is just appended to the original filename, so that it ends up something like foo.cpp.opt-report?  I don't have an objection to ".opt-report" or even ".lst".


http://reviews.llvm.org/D19678





More information about the cfe-commits mailing list