llvm_sys::lto

Function lto_module_get_linkeropts

Source
pub unsafe extern "C" fn lto_module_get_linkeropts(
    _mod: lto_module_t,
) -> *const c_char
Expand description

Returns the module’s linker options.

The linker options may consist of multiple flags. It is the linker’s responsibility to split the flags using a platform-specific mechanism.

Added in LLVM 3.7.