An inferface for inquiring the load address of a loaded object file to be used by the DIContext implementations when applying relocations on the fly.
More...
#include "llvm/DebugInfo/DIContext.h"
An inferface for inquiring the load address of a loaded object file to be used by the DIContext implementations when applying relocations on the fly.
Definition at line 221 of file DIContext.h.
◆ LoadedObjectInfo() [1/2]
llvm::LoadedObjectInfo::LoadedObjectInfo |
( |
| ) |
|
|
protecteddefault |
◆ LoadedObjectInfo() [2/2]
◆ ~LoadedObjectInfo()
virtual llvm::LoadedObjectInfo::~LoadedObjectInfo |
( |
| ) |
|
|
virtualdefault |
◆ clone()
virtual std::unique_ptr<LoadedObjectInfo> llvm::LoadedObjectInfo::clone |
( |
| ) |
const |
|
pure virtual |
◆ getLoadedSectionContents()
If conveniently available, return the content of the given Section.
When the section is available in the local address space, in relocated (loaded) form, e.g. because it was relocated by a JIT for execution, this function should provide the contents of said section in Data
. If the loaded section is not available, or the cost of retrieving it would be prohibitive, this function should return false. In that case, relocations will be read from the local (unrelocated) object file and applied on the fly. Note that this method is used purely for optimzation purposes in the common case of JITting in the local address space, so returning false should always be correct.
Definition at line 251 of file DIContext.h.
◆ 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 in llvm::RuntimeDyld::LoadedObjectInfo.
Definition at line 236 of file DIContext.h.
Referenced by getSymbolInfo().
The documentation for this class was generated from the following file: