LLVM API Documentation

Public Member Functions | Protected Attributes
llvm::ObjectImage Class Reference

#include <ObjectImage.h>

Inheritance diagram for llvm::ObjectImage:
Inheritance graph
[legend]
Collaboration diagram for llvm::ObjectImage:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 ObjectImage (std::unique_ptr< ObjectBuffer > Input)
virtual ~ObjectImage ()
virtual object::symbol_iterator begin_symbols () const =0
virtual object::symbol_iterator end_symbols () const =0
iterator_range
< object::symbol_iterator
symbols () const
virtual object::section_iterator begin_sections () const =0
virtual object::section_iterator end_sections () const =0
iterator_range
< object::section_iterator
sections () const
virtual unsigned getArch () const =0
StringRef getImageName () const
virtual void updateSectionAddress (const object::SectionRef &Sec, uint64_t Addr)=0
virtual void updateSymbolAddress (const object::SymbolRef &Sym, uint64_t Addr)=0
virtual StringRef getData () const =0
virtual object::ObjectFilegetObjectFile () const =0
virtual void registerWithDebugger ()=0
virtual void deregisterWithDebugger ()=0

Protected Attributes

std::unique_ptr< ObjectBufferBuffer

Detailed Description

ObjectImage - A container class that represents an ObjectFile that has been or is in the process of being loaded into memory for execution.

Definition at line 25 of file ObjectImage.h.


Constructor & Destructor Documentation

llvm::ObjectImage::ObjectImage ( std::unique_ptr< ObjectBuffer Input) [inline]

Definition at line 34 of file ObjectImage.h.

virtual llvm::ObjectImage::~ObjectImage ( ) [inline, virtual]

Definition at line 35 of file ObjectImage.h.


Member Function Documentation

virtual void llvm::ObjectImage::deregisterWithDebugger ( ) [pure virtual]

Implemented in llvm::ObjectImageCommon.

virtual object::symbol_iterator llvm::ObjectImage::end_symbols ( ) const [pure virtual]
virtual unsigned llvm::ObjectImage::getArch ( ) const [pure virtual]

Implemented in llvm::ObjectImageCommon.

virtual StringRef llvm::ObjectImage::getData ( ) const [pure virtual]

Implemented in llvm::ObjectImageCommon.

Definition at line 56 of file ObjectImage.h.

References Buffer.

Referenced by llvm::RuntimeDyldImpl::emitSection().

virtual object::ObjectFile* llvm::ObjectImage::getObjectFile ( ) const [pure virtual]
virtual void llvm::ObjectImage::registerWithDebugger ( ) [pure virtual]

Implemented in llvm::ObjectImageCommon.

Definition at line 46 of file ObjectImage.h.

References begin_sections(), and end_sections().

Definition at line 39 of file ObjectImage.h.

References begin_symbols(), and end_symbols().

virtual void llvm::ObjectImage::updateSectionAddress ( const object::SectionRef Sec,
uint64_t  Addr 
) [pure virtual]
virtual void llvm::ObjectImage::updateSymbolAddress ( const object::SymbolRef Sym,
uint64_t  Addr 
) [pure virtual]

Member Data Documentation

std::unique_ptr<ObjectBuffer> llvm::ObjectImage::Buffer [protected]

Definition at line 31 of file ObjectImage.h.

Referenced by getImageName(), and llvm::ObjectImageCommon::ObjectImageCommon().


The documentation for this class was generated from the following files: