lto_module_create_in_local_context

\brief Loads an object file in its own context.

Loads an object file in its own LLVMContext. This function call is thread-safe. However, modules created this way should not be merged into an lto_code_gen_t using \a lto_codegen_add_module().

Returns NULL on error (check lto_get_error_message() for details).

\since LTO_API_VERSION=11

extern (C) nothrow extern
lto_module_create_in_local_context
(
const(void)* mem
,,
const(char)* path
)

Meta