Function rustc::llvm::LLVMRustCreateMemoryBufferWithContentsOfFileUnstable [-] [+] [src]

pub unsafe fn LLVMRustCreateMemoryBufferWithContentsOfFile(Path: *const i8) -> *mut MemoryBuffer_opaque

Reads the given file and returns it as a memory buffer. Use LLVMDisposeMemoryBuffer() to get rid of it.