LLVM
8.0.1
|
#include "llvm/Support/MemoryBuffer.h"
Public Member Functions | |
MemoryBufferRef ()=default | |
MemoryBufferRef (MemoryBuffer &Buffer) | |
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 262 of file MemoryBuffer.h.
|
default |
|
inline |
Definition at line 268 of file MemoryBuffer.h.
Definition at line 270 of file MemoryBuffer.h.
|
inline |
Definition at line 273 of file MemoryBuffer.h.
Referenced by computeMemberData(), llvm::object::ELFObjectFile< ELFT >::create(), llvm::object::createBinary(), llvm::object::ObjectFile::createELFObjectFile(), llvm::object::ObjectFile::createMachOObjectFile(), llvm::object::IRObjectFile::findBitcodeInMemBuffer(), llvm::object::Archive::Child::getChildOffset(), llvm::object::Binary::getData(), llvm::MemoryBuffer::getMemBuffer(), getSymbols(), llvm::object::ObjectFile::makeTriple(), llvm::object::parseCOFFModuleDefinition(), llvm::msgpack::ScalarNode::ScalarNode(), and llvm::object::SymbolicFile::SymbolicFile().
Definition at line 278 of file MemoryBuffer.h.
References llvm::StringRef::end().
Referenced by llvm::object::Binary::checkOffset(), llvm::object::Archive::Child::getNext(), and llvm::yaml::Scanner::Scanner().
|
inline |
Definition at line 275 of file MemoryBuffer.h.
Referenced by llvm::getBitcodeFileContents(), llvm::object::Binary::getFileName(), llvm::object::Archive::Child::getFullName(), llvm::MemoryBuffer::getMemBuffer(), and llvm::object::SymbolicFile::SymbolicFile().
|
inline |
Definition at line 279 of file MemoryBuffer.h.
References DEFINE_SIMPLE_CONVERSION_FUNCTIONS, and llvm::StringRef::size().
Referenced by __jit_debug_register_code(), checkSize(), computeMemberData(), llvm::object::WindowsResource::createWindowsResource(), EmitDebugSectionImpl(), llvm::DWARFYAML::EmitPubSection(), initStream(), llvm::object::Archive::isEmpty(), llvm::msgpack::Writer::write(), and llvm::msgpack::Writer::writeExt().
Definition at line 277 of file MemoryBuffer.h.
References llvm::StringRef::begin().
Referenced by __jit_debug_register_code(), llvm::object::Binary::checkOffset(), llvm::object::ObjectFile::createELFObjectFile(), llvm::DWARFYAML::EmitPubSection(), llvm::object::COFFImportFile::getCOFFImportHeader(), initStream(), llvm::object::COFFImportFile::printSymbolName(), llvm::yaml::Scanner::Scanner(), llvm::msgpack::Writer::write(), and llvm::msgpack::Writer::writeExt().