LLVM 20.0.0git
|
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 4494 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 4519 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 4530 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 4508 of file Core.cpp.
References llvm::ErrorOr< T >::get(), llvm::ErrorOr< T >::getError(), llvm::MemoryBuffer::getSTDIN(), and llvm::wrap().
void LLVMDisposeMemoryBuffer | ( | LLVMMemoryBufferRef | MemBuf | ) |
size_t LLVMGetBufferSize | ( | LLVMMemoryBufferRef | MemBuf | ) |