[cfe-dev] distributed clang patch
clattner at apple.com
Thu Jul 10 09:53:21 PDT 2008
On Jul 10, 2008, at 1:28 AM, Csaba Hruska wrote:
> Is this something you could take on? It should be pretty straight-
> forward. Once it exists, switching the -E printer over to it should
> be easy, and this will make it easy to get it to output to an
> std::ostream or whatever else is desired (you could even make an
> outstream for a socket or whatever, to avoid the extra std::ostream
> This can solve my problem. And if we make the ASTConsumer library
> they should use the outstream class to write out they output (This
> will remove duplications from ASTConsumer.h functions).
That makes sense to me!
> There is one more requirement if we follow this. Most of
> ASTConsumers have one output stream or file, but there is
> StaticAnalysis what is make a couple of HTML files and because
> distcc static analysis is a big speedup, we must support this
> astconsumer, so we have to capture its output somehow.
I would worry about this one later. I think it would be good to focus
on distributing the other ASTConsumers before the static analysis one.
Thanks for tackling this!
More information about the cfe-dev