LLVM  8.0.1
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 3838 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 3867 of file Core.cpp.

References llvm::unwrap().

◆ LLVMGetBufferSize()

size_t LLVMGetBufferSize ( LLVMMemoryBufferRef  MemBuf)

Definition at line 3863 of file Core.cpp.

References llvm::unwrap().

◆ LLVMGetBufferStart()

const char* LLVMGetBufferStart ( LLVMMemoryBufferRef  MemBuf)

Definition at line 3859 of file Core.cpp.

References llvm::unwrap().