LLVM  6.0.0svn
Functions
Collaboration diagram for Memory Buffers:

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 charLLVMGetBufferStart (LLVMMemoryBufferRef MemBuf)
 
size_t LLVMGetBufferSize (LLVMMemoryBufferRef MemBuf)
 
void LLVMDisposeMemoryBuffer (LLVMMemoryBufferRef MemBuf)
 

Detailed Description

Function Documentation

◆ LLVMCreateMemoryBufferWithContentsOfFile()

LLVMBool LLVMCreateMemoryBufferWithContentsOfFile ( const char Path,
LLVMMemoryBufferRef OutMemBuf,
char **  OutMessage 
)

◆ LLVMCreateMemoryBufferWithMemoryRange()

LLVMMemoryBufferRef LLVMCreateMemoryBufferWithMemoryRange ( const char InputData,
size_t  InputDataLength,
const char BufferName,
LLVMBool  RequiresNullTerminator 
)

Definition at line 3147 of file Core.cpp.

References llvm::MemoryBuffer::getMemBuffer(), llvm::release, and llvm::wrap().

◆ LLVMCreateMemoryBufferWithMemoryRangeCopy()

LLVMMemoryBufferRef LLVMCreateMemoryBufferWithMemoryRangeCopy ( const char InputData,
size_t  InputDataLength,
const char BufferName 
)

◆ LLVMCreateMemoryBufferWithSTDIN()

LLVMBool LLVMCreateMemoryBufferWithSTDIN ( LLVMMemoryBufferRef OutMemBuf,
char **  OutMessage 
)

◆ LLVMDisposeMemoryBuffer()

void LLVMDisposeMemoryBuffer ( LLVMMemoryBufferRef  MemBuf)

Definition at line 3176 of file Core.cpp.

References llvm::unwrap().

◆ LLVMGetBufferSize()

size_t LLVMGetBufferSize ( LLVMMemoryBufferRef  MemBuf)

Definition at line 3172 of file Core.cpp.

References llvm::unwrap().

◆ LLVMGetBufferStart()

const char* LLVMGetBufferStart ( LLVMMemoryBufferRef  MemBuf)

Definition at line 3168 of file Core.cpp.

References llvm::unwrap().