rustc_llvm::LLVMRustCreateMemoryBufferWithContentsOfFileExperimental
[-]
[+]
[src]
pub unsafe fn LLVMRustCreateMemoryBufferWithContentsOfFile(Path: *const c_char) -> MemoryBufferRef
Reads the given file and returns it as a memory buffer. Use LLVMDisposeMemoryBuffer() to get rid of it.