Function rustc_trans::lib::llvm::LLVMRustCreateMemoryBufferWithContentsOfFileExperimental
[-]
[+]
[src]
pub unsafe fn LLVMRustCreateMemoryBufferWithContentsOfFile(*const i8) -> *mut MemoryBuffer_opaque
Reads the given file and returns it as a memory buffer. Use LLVMDisposeMemoryBuffer() to get rid of it.