thinlto_codegen_add_module

Add a module to a ThinLTO code generator. Identifier has to be unique among all the modules in a code generator. The data buffer stays owned by the client, and is expected to be available for the entire lifetime of the thinlto_code_gen_t it is added to.

On failure, returns NULL (check lto_get_error_message() for details).

More...
extern (C) nothrow extern
void
thinlto_codegen_add_module
(,
const(char)* identifier
,
const(char)* data
,
int length
)

Detailed Description

\since LTO_API_VERSION=18

Meta