ΒΆextern lto_module_t lto_module_create_from_fd(
    int fd,
    const char* path,
    size_t file_size)

Description

Loads an object file from disk. The seek point of fd is not preserved. Returns NULL on error (check lto_get_error_message() for details).

Declared at: llvm/include/llvm-c/lto.h:228

Parameters

int fd
const char* path
size_t file_size