[LLVMdev] Get object output in a buffer

Acarion arkangath at gmail.com
Wed Sep 18 03:04:52 PDT 2013


Hey all,

I'm compiling a bunch of files through a clang CompilerInvocation and I want 
the results in a buffer (rather than on a file).

In order to get the output out of a compile invocation, one normally sets 
FrontendOptions.OutputFile but on my environment, I don't want a file to be 
created.
I want to do post-processing myself before creating output.

Anyone has any ideas?




More information about the llvm-dev mailing list