LLVM: llvm::RuntimeDyld::LoadedObjectInfo Class Reference (original) (raw)
Information about the loaded object. More...
#include "[llvm/ExecutionEngine/RuntimeDyld.h](RuntimeDyld%5F8h%5Fsource.html)"
| 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. |
| Friends | |
|---|---|
| class | RuntimeDyldImpl |
Information about the loaded object.
Definition at line 70 of file RuntimeDyld.h.
◆ ObjSectionToIDMap
| llvm::RuntimeDyld::LoadedObjectInfo::LoadedObjectInfo ( RuntimeDyldImpl & RTDyld, ObjSectionToIDMap ObjSecToIDMap ) | inline |
|---|
◆ anchor()
| void RuntimeDyld::LoadedObjectInfo::anchor ( ) | protectedvirtual |
|---|
◆ getObjectForDebug()
◆ getSectionLoadAddress()
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().
◆ RuntimeDyldImpl
◆ ObjSecToIDMap
| ObjSectionToIDMap llvm::RuntimeDyld::LoadedObjectInfo::ObjSecToIDMap | protected |
|---|
◆ RTDyld
The documentation for this class was generated from the following files:
- include/llvm/ExecutionEngine/RuntimeDyld.h
- lib/ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp