LLVM 20.0.0git
|
Information about the loaded object. More...
#include "llvm/ExecutionEngine/RuntimeDyld.h"
Public Types | |
using | ObjSectionToIDMap = std::map< object::SectionRef, unsigned > |
Public Member Functions | |
LoadedObjectInfo (RuntimeDyldImpl &RTDyld, ObjSectionToIDMap ObjSecToIDMap) | |
virtual object::OwningBinary< object::ObjectFile > | getObjectForDebug (const object::ObjectFile &Obj) const =0 |
uint64_t | getSectionLoadAddress (const object::SectionRef &Sec) const override |
Obtain the Load Address of a section by SectionRef. | |
Public Member Functions inherited from llvm::LoadedObjectInfo | |
virtual | ~LoadedObjectInfo ()=default |
virtual uint64_t | getSectionLoadAddress (const object::SectionRef &Sec) const |
Obtain the Load Address of a section by SectionRef. | |
virtual bool | getLoadedSectionContents (const object::SectionRef &Sec, StringRef &Data) const |
If conveniently available, return the content of the given Section. | |
virtual std::unique_ptr< LoadedObjectInfo > | clone () const =0 |
Obtain a copy of this LoadedObjectInfo. | |
Protected Member Functions | |
virtual void | anchor () |
Protected Member Functions inherited from llvm::LoadedObjectInfo | |
LoadedObjectInfo ()=default | |
LoadedObjectInfo (const LoadedObjectInfo &)=default | |
Protected Attributes | |
RuntimeDyldImpl & | RTDyld |
ObjSectionToIDMap | ObjSecToIDMap |
Friends | |
class | RuntimeDyldImpl |
Information about the loaded object.
Definition at line 69 of file RuntimeDyld.h.
using llvm::RuntimeDyld::LoadedObjectInfo::ObjSectionToIDMap = std::map<object::SectionRef, unsigned> |
Definition at line 73 of file RuntimeDyld.h.
|
inline |
Definition at line 75 of file RuntimeDyld.h.
|
protectedvirtual |
Definition at line 70 of file RuntimeDyld.cpp.
|
pure virtual |
|
overridevirtual |
Obtain the Load Address of a section by SectionRef.
Calculate the address of the given section. 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 Sec should give the same address.
Reimplemented from llvm::LoadedObjectInfo.
Definition at line 1272 of file RuntimeDyld.cpp.
References I.
|
friend |
Definition at line 70 of file RuntimeDyld.h.
|
protected |
Definition at line 88 of file RuntimeDyld.h.
|
protected |
Definition at line 87 of file RuntimeDyld.h.