llvm_sys::core

Function LLVMGetSourceFileName

Source
pub unsafe extern "C" fn LLVMGetSourceFileName(
    M: LLVMModuleRef,
    Len: *mut size_t,
) -> *const c_char
Expand description

Obtain the module’s original source file name.

Len holds the length of the returned string, returns the original source file name of M.