thinlto_create_codegen

Instantiates a ThinLTO code generator. Returns NULL on error (check lto_get_error_message() for details).

More...
extern (C) nothrow extern
thinlto_create_codegen
()

Detailed Description

The ThinLTOCodeGenerator is not intended to be reuse for multiple compilation: the model is that the client adds modules to the generator and ask to perform the ThinLTO optimizations / codegen, and finally destroys the codegenerator.

\since LTO_API_VERSION=18

Meta