[cfe-dev] getting module of backend consumer

Jochen Wilhelmy j.wilhelmy at arcor.de
Wed Jan 20 13:03:24 CST 2010


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



More information about the cfe-dev mailing list