ΒΆextern lto_module_t
lto_module_create_in_local_context(
const void* mem,
size_t length,
const char* path)
extern lto_module_t
lto_module_create_in_local_context(
const void* mem,
size_t length,
const char* path)
Description
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).
Declared at: llvm/include/llvm-c/lto.h:204
Parameters
- const void* mem
- size_t length
- const char* path