rjmccall added a comment. In http://reviews.llvm.org/D19678#420358, @hfinkel wrote:
> In http://reviews.llvm.org/D19678#419445, @rjmccall wrote: > > > This discussion of the command line interface makes me think that we should > > be taking Richard's suggestion one step further. Why is Clang's > > involvement here more than just handing down specific requests for > > optimization data to LLVM and packaging that information back into some > > reasonable format? > > > The static analyzer supports outputting its data in plist format (with which > I'm not familiar in detail, but it looks like a fairly-simple xml format). Is > that close to what you had in mind? Maybe YAML would be better (since LLVM > actually has a parser for that)? YAML makes a lot of sense to me. > > If we did that, then Clang just needs (1) an output filename, (2) an > > optional list of passes to collect data from, and (3) maybe some > > stringly-typed configuration data for each. > > > Sure. Although I'd prefer to leave the filtering to the tool unless the I/O > requirements become unmanageable. Users don't know, and shouldn't know, what > passes do what. Sure, seems reasonable. So we can start with just some way to turn the feature on and specify a filename. http://reviews.llvm.org/D19678 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits