LLVM  3.7.0
Public Member Functions | Protected Member Functions | Protected Attributes | Friends | List of all members
llvm::RuntimeDyld::LoadedObjectInfo Class Referenceabstract

Information about the loaded object. More...

#include <RuntimeDyld.h>

Inheritance diagram for llvm::RuntimeDyld::LoadedObjectInfo:
[legend]
Collaboration diagram for llvm::RuntimeDyld::LoadedObjectInfo:
[legend]

Public Member Functions

 LoadedObjectInfo (RuntimeDyldImpl &RTDyld, unsigned BeginIdx, unsigned EndIdx)
 
virtual object::OwningBinary
< object::ObjectFile
getObjectForDebug (const object::ObjectFile &Obj) const =0
 
uint64_t getSectionLoadAddress (StringRef Name) const
 Obtain the Load Address of a section by Name. More...
 
- Public Member Functions inherited from llvm::LoadedObjectInfo
virtual ~LoadedObjectInfo ()=default
 
virtual bool getLoadedSectionContents (StringRef Name, StringRef &Data) const
 If conveniently available, return the content of the given Section. More...
 
virtual std::unique_ptr
< LoadedObjectInfo
clone () const =0
 Obtain a copy of this LoadedObjectInfo. More...
 

Protected Member Functions

virtual void anchor ()
 

Protected Attributes

RuntimeDyldImplRTDyld
 
unsigned BeginIdx
 
unsigned EndIdx
 

Friends

class RuntimeDyldImpl
 

Detailed Description

Information about the loaded object.

Definition at line 59 of file RuntimeDyld.h.

Constructor & Destructor Documentation

llvm::RuntimeDyld::LoadedObjectInfo::LoadedObjectInfo ( RuntimeDyldImpl RTDyld,
unsigned  BeginIdx,
unsigned  EndIdx 
)
inline

Definition at line 62 of file RuntimeDyld.h.

Member Function Documentation

void RuntimeDyld::LoadedObjectInfo::anchor ( )
protectedvirtual

Definition at line 34 of file RuntimeDyld.cpp.

virtual object::OwningBinary<object::ObjectFile> llvm::RuntimeDyld::LoadedObjectInfo::getObjectForDebug ( const object::ObjectFile Obj) const
pure virtual
uint64_t llvm::RuntimeDyld::LoadedObjectInfo::getSectionLoadAddress ( StringRef  Name) const
virtual

Obtain the Load Address of a section by Name.

Calculate the address of the section identified by the passed in Name. The section need not be present in the local address space. The addresses need to be consistent with the addresses used to query the DIContext and the output of this function should be deterministic, i.e. repeated calls with the same Name should give the same address.

Implements llvm::LoadedObjectInfo.

Definition at line 820 of file RuntimeDyld.cpp.

References I.

Friends And Related Function Documentation

friend class RuntimeDyldImpl
friend

Definition at line 60 of file RuntimeDyld.h.

Member Data Documentation

unsigned llvm::RuntimeDyld::LoadedObjectInfo::BeginIdx
protected

Definition at line 75 of file RuntimeDyld.h.

unsigned llvm::RuntimeDyld::LoadedObjectInfo::EndIdx
protected

Definition at line 75 of file RuntimeDyld.h.

RuntimeDyldImpl& llvm::RuntimeDyld::LoadedObjectInfo::RTDyld
protected

Definition at line 74 of file RuntimeDyld.h.


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