ΒΆextern lto_input_t lto_input_create(
    const void* buffer,
    size_t buffer_size,
    const char* path)

Description

Creates an LTO input file from a buffer. The path argument is used for diagnotics as this function otherwise does not know which file the given buffer is associated with.

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

Parameters

const void* buffer
size_t buffer_size
const char* path