Enables easy lookup of blocks by addresses.
Synopsis
Declared in <llvm/ExecutionEngine/JITLink/JITLink.h>
class BlockAddressMap;
Type Aliases
Name |
Description |
Map from block start address to block pointer. |
|
Const iterator over address‐to‐block map entries. |
Member Functions
Name |
Description |
|
Create an empty block address map. |
Add a block to the map. Returns an error if the block overlaps with any existing block. |
|
Add a block without overlap checking. |
|
Add a range of blocks to the map. Returns an error if any block in the range overlaps with any other block in the range, or with any existing block in the map. |
|
Add blocks without overlap checking. |
|
Iterates over (Address, Block*) pairs in ascending order of address. |
|
Returns an iterator to the end of the address‐to‐block map. |
|
Returns the block starting at the given address, or nullptr if no such block exists. |
|
Returns the block covering the given address, or nullptr if no such block exists. |
Static Member Functions
Name |
Description |
A block predicate that always adds all blocks. |
|
A block predicate that always includes blocks with non‐null addresses. |
Created with MrDocs