Obtain the Load Address of a section by SectionRef.
Synopsis
Declared in <llvm/DebugInfo/DIContext.h>
virtual
uint64_t
getSectionLoadAddress(object::SectionRef const& Sec) const;
Description
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.
Return Value
The load address of Sec, or 0 by default.
Parameters
Name |
Description |
Sec |
Section whose load address is requested. |
Created with MrDocs