LLVM API Documentation
#include <MemoryBuffer.h>
Public Member Functions | |
MemoryBufferRef () | |
MemoryBufferRef (StringRef Buffer, StringRef Identifier) | |
StringRef | getBuffer () const |
StringRef | getBufferIdentifier () const |
const char * | getBufferStart () const |
const char * | getBufferEnd () const |
size_t | getBufferSize () const |
Definition at line 150 of file MemoryBuffer.h.
llvm::MemoryBufferRef::MemoryBufferRef | ( | ) | [inline] |
Definition at line 155 of file MemoryBuffer.h.
llvm::MemoryBufferRef::MemoryBufferRef | ( | StringRef | Buffer, |
StringRef | Identifier | ||
) | [inline] |
Definition at line 156 of file MemoryBuffer.h.
StringRef llvm::MemoryBufferRef::getBuffer | ( | ) | const [inline] |
Definition at line 159 of file MemoryBuffer.h.
Referenced by llvm::object::createBinary(), llvm::object::ObjectFile::createELFObjectFile(), llvm::object::ObjectFile::createMachOObjectFile(), llvm::object::ObjectFile::createObjectFile(), llvm::object::SymbolicFile::createSymbolicFile(), llvm::object::Binary::getData(), llvm::MemoryBuffer::getMemBuffer(), and llvm::parseAssemblyInto().
const char* llvm::MemoryBufferRef::getBufferEnd | ( | ) | const [inline] |
Definition at line 164 of file MemoryBuffer.h.
References llvm::StringRef::end().
Referenced by getObject(), and llvm::parseIR().
StringRef llvm::MemoryBufferRef::getBufferIdentifier | ( | ) | const [inline] |
Definition at line 161 of file MemoryBuffer.h.
Referenced by llvm::object::Binary::getFileName(), llvm::MemoryBuffer::getMemBuffer(), llvm::parseAssembly(), and llvm::parseIR().
size_t llvm::MemoryBufferRef::getBufferSize | ( | ) | const [inline] |
Definition at line 165 of file MemoryBuffer.h.
References llvm::StringRef::size().
Referenced by llvm::object::Archive::Archive(), checkSize(), llvm::object::Archive::child_begin(), and llvm::object::MachOUniversalBinary::MachOUniversalBinary().
const char* llvm::MemoryBufferRef::getBufferStart | ( | ) | const [inline] |
Definition at line 163 of file MemoryBuffer.h.
References llvm::StringRef::begin().
Referenced by llvm::object::Archive::Archive(), llvm::object::ObjectFile::base(), llvm::object::Archive::child_begin(), llvm::object::ObjectFile::createELFObjectFile(), and llvm::parseIR().