#include <linker.h>
Collaboration diagram for VM::VMLinker::SymbolProvideMap:

Public Member Functions | |
| SymbolProvideMap () | |
| Create empty map. | |
| ~SymbolProvideMap () | |
| Destructor cleans up map. | |
| NamespaceInfo::SymbolEntryE * | AddNode (NamespaceInfo::SymbolEntryE *s) |
| Add a symbol to the symbol map table. | |
| NamespaceInfo::SymbolEntryE * | lookup (NamespaceInfo::SymbolEntryE *symb) |
| Perform lookup in map table. | |
| void | clear () |
| Clear map table (all information is simply purged). | |
Private Member Functions | |
| SymbolProvideMap (const SymbolProvideMap &) | |
| Do not use. | |
| void | operator= (const SymbolProvideMap &) |
| Do not use. | |
Private Attributes | |
| TLBTree< NamespaceInfo::SymbolEntryE *, ProvideMapOP< NamespaceInfo::SymbolEntryE * > > | map |
NOT C++-safe.
Definition at line 156 of file linker.h.
|
|
Do not use.
|
|
|
Create empty map.
Definition at line 168 of file linker.h. References map. |
|
|
Destructor cleans up map.
|
|
|
Add a symbol to the symbol map table. Returns NULL on success or already known entry. Definition at line 28 of file linker.cc. Referenced by VM::VMLinker::_GenerateSymbolProvideMap(), and VM::VMLinker::_GenerateSymbolProvideMap_AddGlobal(). |
|
|
Clear map table (all information is simply purged).
Definition at line 199 of file linker.h. References map. Referenced by VM::VMLinker::_GenerateSymbolProvideMap(), and VM::VMLinker::LinkAll(). |
|
|
Perform lookup in map table. Note that for the lookup, symb->name and symb->linked->nspc are used and NOT the symb pointer itself. You hence may not loop up symbols from the master tree (which have linked=NULL). If the symbol is found, a pointer is returned, otherwise NULL is returned. Definition at line 191 of file linker.h. References map. Referenced by VM::VMLinker::LinkAll(). |
|
|
Do not use.
|
|
|
Definition at line 160 of file linker.h. Referenced by AddNode(), clear(), lookup(), and SymbolProvideMap(). |
1.3.5