[LLVMdev] RFC - Adding an optimization report facility?

Chris Lattner clattner at apple.com
Mon Mar 10 10:22:12 PDT 2014


On Mar 10, 2014, at 7:57 AM, Diego Novillo <dnovillo at google.com> wrote:

> On Mon, Mar 10, 2014 at 5:35 AM, Tobias Grosser <tobias at grosser.es> wrote:
> 
>> This is an interesting discussion to have. I currently use line-table debug
>> info and this work very well, with the only exception that line-table
>> information currently needs to be enabled manually. As this could probably
>> be enabled automatically for the users, this does not seem like an
>> unsolvable problems.
> 
> Yes. I don't think enabling -gline-tables-only would be a problem when
> -R is used. It gives us precisely the information we need.

If you do that, then -R is going to be substantially different than -W flags, and we should design it as such.  This means that none of the warning level control should apply to it, -Weverything (etc) shouldn’t apply to it, and we should not implement these with the diagnostics subsystem.

-Chris



More information about the llvm-dev mailing list