[cfe-dev] getting module of backend consumer

Daniel Dunbar daniel.dunbar at gmail.com
Wed Jan 20 16:27:47 PST 2010

Hi Jochen,

Currently we don't have any API for this. It should be easy to add,  
though, and definitely makes sense.

  - Daniel

On Jan 20, 2010, at 11:03 AM, Jochen Wilhelmy <j.wilhelmy at arcor.de>  

> Hi!
> is it possible to get the module out of a backend consumer for  
> linking?
> At first I create a backend consumer with no output:
>  clang::CreateBackendConsumer(clang::Backend_EmitNothing...
> Then I do clang::ParseAST
> Is it then possible to get the module for linking?
> Or do I have to save as BC and then link from files?
> -Jochen
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev

More information about the cfe-dev mailing list