LLVM API Documentation
#include <ObjectImageCommon.h>
Public Member Functions | |
ObjectImageCommon (std::unique_ptr< ObjectBuffer > Input) | |
ObjectImageCommon (std::unique_ptr< object::ObjectFile > Input) | |
virtual | ~ObjectImageCommon () |
object::symbol_iterator | begin_symbols () const override |
object::symbol_iterator | end_symbols () const override |
object::section_iterator | begin_sections () const override |
object::section_iterator | end_sections () const override |
unsigned | getArch () const override |
StringRef | getData () const override |
object::ObjectFile * | getObjectFile () const override |
void | updateSectionAddress (const object::SectionRef &Sec, uint64_t Addr) override |
void | updateSymbolAddress (const object::SymbolRef &Sym, uint64_t Addr) override |
void | registerWithDebugger () override |
void | deregisterWithDebugger () override |
Protected Member Functions | |
ObjectImageCommon (std::unique_ptr< ObjectBuffer > Input, std::unique_ptr< object::ObjectFile > Obj) | |
Protected Attributes | |
std::unique_ptr < object::ObjectFile > | ObjFile |
Definition at line 29 of file ObjectImageCommon.h.
llvm::ObjectImageCommon::ObjectImageCommon | ( | std::unique_ptr< ObjectBuffer > | Input, |
std::unique_ptr< object::ObjectFile > | Obj | ||
) | [inline, protected] |
Definition at line 39 of file ObjectImageCommon.h.
llvm::ObjectImageCommon::ObjectImageCommon | ( | std::unique_ptr< ObjectBuffer > | Input | ) | [inline] |
Definition at line 44 of file ObjectImageCommon.h.
References llvm::ObjectImage::Buffer, llvm::object::ObjectFile::createObjectFile(), and ObjFile.
llvm::ObjectImageCommon::ObjectImageCommon | ( | std::unique_ptr< object::ObjectFile > | Input | ) | [inline] |
Definition at line 51 of file ObjectImageCommon.h.
virtual llvm::ObjectImageCommon::~ObjectImageCommon | ( | ) | [inline, virtual] |
Definition at line 53 of file ObjectImageCommon.h.
object::section_iterator llvm::ObjectImageCommon::begin_sections | ( | ) | const [inline, override, virtual] |
Implements llvm::ObjectImage.
Definition at line 60 of file ObjectImageCommon.h.
References ObjFile.
object::symbol_iterator llvm::ObjectImageCommon::begin_symbols | ( | ) | const [inline, override, virtual] |
Implements llvm::ObjectImage.
Definition at line 55 of file ObjectImageCommon.h.
References ObjFile.
void llvm::ObjectImageCommon::deregisterWithDebugger | ( | ) | [inline, override, virtual] |
Implements llvm::ObjectImage.
Definition at line 81 of file ObjectImageCommon.h.
object::section_iterator llvm::ObjectImageCommon::end_sections | ( | ) | const [inline, override, virtual] |
Implements llvm::ObjectImage.
Definition at line 62 of file ObjectImageCommon.h.
References ObjFile.
object::symbol_iterator llvm::ObjectImageCommon::end_symbols | ( | ) | const [inline, override, virtual] |
Implements llvm::ObjectImage.
Definition at line 57 of file ObjectImageCommon.h.
References ObjFile.
unsigned llvm::ObjectImageCommon::getArch | ( | ) | const [inline, override, virtual] |
Implements llvm::ObjectImage.
Definition at line 65 of file ObjectImageCommon.h.
References ObjFile.
StringRef llvm::ObjectImageCommon::getData | ( | ) | const [inline, override, virtual] |
Implements llvm::ObjectImage.
Definition at line 68 of file ObjectImageCommon.h.
References ObjFile.
object::ObjectFile* llvm::ObjectImageCommon::getObjectFile | ( | ) | const [inline, override, virtual] |
Implements llvm::ObjectImage.
Definition at line 70 of file ObjectImageCommon.h.
References ObjFile.
void llvm::ObjectImageCommon::registerWithDebugger | ( | ) | [inline, override, virtual] |
Implements llvm::ObjectImage.
Definition at line 80 of file ObjectImageCommon.h.
void llvm::ObjectImageCommon::updateSectionAddress | ( | const object::SectionRef & | Sec, |
uint64_t | Addr | ||
) | [inline, override, virtual] |
Implements llvm::ObjectImage.
Definition at line 74 of file ObjectImageCommon.h.
void llvm::ObjectImageCommon::updateSymbolAddress | ( | const object::SymbolRef & | Sym, |
uint64_t | Addr | ||
) | [inline, override, virtual] |
Implements llvm::ObjectImage.
Definition at line 76 of file ObjectImageCommon.h.
std::unique_ptr<object::ObjectFile> llvm::ObjectImageCommon::ObjFile [protected] |
Definition at line 35 of file ObjectImageCommon.h.
Referenced by begin_sections(), begin_symbols(), end_sections(), end_symbols(), getArch(), getData(), getObjectFile(), and ObjectImageCommon().