LLVM
8.0.1
|
Functions | |
LLVMBool | LLVMCreateMemoryBufferWithContentsOfFile (const char *Path, LLVMMemoryBufferRef *OutMemBuf, char **OutMessage) |
LLVMBool | LLVMCreateMemoryBufferWithSTDIN (LLVMMemoryBufferRef *OutMemBuf, char **OutMessage) |
LLVMMemoryBufferRef | LLVMCreateMemoryBufferWithMemoryRange (const char *InputData, size_t InputDataLength, const char *BufferName, LLVMBool RequiresNullTerminator) |
LLVMMemoryBufferRef | LLVMCreateMemoryBufferWithMemoryRangeCopy (const char *InputData, size_t InputDataLength, const char *BufferName) |
const char * | LLVMGetBufferStart (LLVMMemoryBufferRef MemBuf) |
size_t | LLVMGetBufferSize (LLVMMemoryBufferRef MemBuf) |
void | LLVMDisposeMemoryBuffer (LLVMMemoryBufferRef MemBuf) |
LLVMBool LLVMCreateMemoryBufferWithContentsOfFile | ( | const char * | Path, |
LLVMMemoryBufferRef * | OutMemBuf, | ||
char ** | OutMessage | ||
) |
Definition at line 3813 of file Core.cpp.
References llvm::ErrorOr< T >::get(), llvm::ErrorOr< T >::getError(), llvm::MemoryBuffer::getFile(), and llvm::wrap().
LLVMMemoryBufferRef LLVMCreateMemoryBufferWithMemoryRange | ( | const char * | InputData, |
size_t | InputDataLength, | ||
const char * | BufferName, | ||
LLVMBool | RequiresNullTerminator | ||
) |
Definition at line 3838 of file Core.cpp.
References llvm::MemoryBuffer::getMemBuffer(), llvm::release, and llvm::wrap().
LLVMMemoryBufferRef LLVMCreateMemoryBufferWithMemoryRangeCopy | ( | const char * | InputData, |
size_t | InputDataLength, | ||
const char * | BufferName | ||
) |
Definition at line 3849 of file Core.cpp.
References llvm::MemoryBuffer::getMemBufferCopy(), llvm::release, and llvm::wrap().
Referenced by LLVMTargetMachineEmitToMemoryBuffer().
LLVMBool LLVMCreateMemoryBufferWithSTDIN | ( | LLVMMemoryBufferRef * | OutMemBuf, |
char ** | OutMessage | ||
) |
Definition at line 3827 of file Core.cpp.
References llvm::ErrorOr< T >::get(), llvm::ErrorOr< T >::getError(), llvm::MemoryBuffer::getSTDIN(), and llvm::wrap().
void LLVMDisposeMemoryBuffer | ( | LLVMMemoryBufferRef | MemBuf | ) |
Definition at line 3867 of file Core.cpp.
References llvm::unwrap().
size_t LLVMGetBufferSize | ( | LLVMMemoryBufferRef | MemBuf | ) |
Definition at line 3863 of file Core.cpp.
References llvm::unwrap().
const char* LLVMGetBufferStart | ( | LLVMMemoryBufferRef | MemBuf | ) |
Definition at line 3859 of file Core.cpp.
References llvm::unwrap().