[cfe-dev] How to redirect LLI output?

Reid Kleckner rnk at google.com
Thu Aug 21 14:55:57 PDT 2014


No. You would have to do it manually with pipe, dup, etc, and I expect it
would be very tricky.


On Wed, Aug 20, 2014 at 10:31 PM, Anton Smirnov <dev at antonsmirnov.name>
wrote:

> Hey.
>
> How can i redirect lli output (fprintf, cout) to get it as variable or
> make my callback executed?
>
> I've reviewed /tools/lli/lli.cpp and as far as i understand the code
> is executed by ExecutionEngine which is built by EngineBuilder. Can EE be
> configured somehow for this?
>
> Regards, Anton.
>
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20140821/ce93b98e/attachment.html>


More information about the cfe-dev mailing list