ΒΆextern void
thinlto_codegen_add_cross_referenced_symbol(
    thinlto_code_gen_t cg,
    const char* name,
    int length)

Description

Adds a symbol to the list of global symbols that are cross-referenced between ThinLTO files. If the ThinLTO CodeGenerator can ensure that every references from a ThinLTO module to this symbol is optimized away, then the symbol can be discarded.

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

Parameters

thinlto_code_gen_t cg
const char* name
int length