[cfe-dev] How to redirect LLI output?

Anton Smirnov dev at antonsmirnov.name
Wed Aug 20 22:31:42 PDT 2014


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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20140821/8faf4d70/attachment.html>


More information about the cfe-dev mailing list