LLVM 22.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 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 70 of file RuntimeDyld.h.
using llvm::RuntimeDyld::LoadedObjectInfo::ObjSectionToIDMap = std::map<object::SectionRef, unsigned> |
Definition at line 74 of file RuntimeDyld.h.
|
inline |
Definition at line 76 of file RuntimeDyld.h.
References llvm::move(), ObjSecToIDMap, RTDyld, and RuntimeDyldImpl.
|
protectedvirtual |
Definition at line 70 of file RuntimeDyld.cpp.
Referenced by getObjectForDebug().
|
pure virtual |
References anchor(), and getSectionLoadAddress().
|
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 1287 of file RuntimeDyld.cpp.
References I, ObjSecToIDMap, and RTDyld.
Referenced by getObjectForDebug().
|
friend |
Definition at line 71 of file RuntimeDyld.h.
References RuntimeDyldImpl.
Referenced by LoadedObjectInfo(), and RuntimeDyldImpl.
|
protected |
Definition at line 89 of file RuntimeDyld.h.
Referenced by getSectionLoadAddress(), and LoadedObjectInfo().
|
protected |
Definition at line 88 of file RuntimeDyld.h.
Referenced by getSectionLoadAddress(), and LoadedObjectInfo().