ΒΆextern lto_module_t
lto_module_create_from_fd_at_offset(
int fd,
const char* path,
size_t file_size,
size_t map_size,
off_t offset)
extern lto_module_t
lto_module_create_from_fd_at_offset(
int fd,
const char* path,
size_t file_size,
size_t map_size,
off_t offset)
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:237
Parameters
- int fd
- const char* path
- size_t file_size
- size_t map_size
- off_t offset