|
LLVM
10.0.0
|
AddressesMap represents information about valid addresses used by debug information. More...
#include "llvm/DWARFLinker/DWARFLinker.h"
Public Member Functions | |
| virtual | ~AddressesMap () |
| virtual bool | areRelocationsResolved () const =0 |
| Returns true if represented addresses are from linked file. More... | |
| virtual bool | hasValidRelocs (bool ResetRelocsPtr=true)=0 |
| Checks that there are valid relocations against a .debug_info section. More... | |
| virtual bool | hasValidRelocationAt (uint64_t StartOffset, uint64_t EndOffset, CompileUnit::DIEInfo &Info)=0 |
Checks that there is a relocation against .debug_info table between StartOffset and NextOffset. More... | |
| virtual bool | applyValidRelocs (MutableArrayRef< char > Data, uint64_t BaseOffset, bool IsLittleEndian)=0 |
Apply the valid relocations to the buffer Data, taking into account that Data is at BaseOffset in the debug_info section. More... | |
| virtual RangesTy & | getValidAddressRanges ()=0 |
| Returns all valid functions address ranges(i.e., those ranges which points to sections with code). More... | |
| virtual void | clear ()=0 |
| Erases all data. More... | |
AddressesMap represents information about valid addresses used by debug information.
Valid addresses are those which points to live code sections. i.e. relocations for these addresses point into sections which would be/are placed into resulting binary.
Definition at line 47 of file DWARFLinker.h.
|
virtual |
Definition at line 13 of file DWARFLinker.cpp.
|
pure virtual |
Apply the valid relocations to the buffer Data, taking into account that Data is at BaseOffset in the debug_info section.
This function must be called with monotonic BaseOffset values.
|
pure virtual |
Returns true if represented addresses are from linked file.
Returns false if represented addresses are from not-linked object file.
|
pure virtual |
Erases all data.
|
pure virtual |
Returns all valid functions address ranges(i.e., those ranges which points to sections with code).
|
pure virtual |
Checks that there is a relocation against .debug_info table between StartOffset and NextOffset.
This function must be called with offsets in strictly ascending order because it never looks back at relocations it already 'went past'.
Checks that there are valid relocations against a .debug_info section.
Reset current relocation pointer if neccessary.
1.8.13