|
LLVM
3.7.0
|
Helper class for helping synchronize access to the global address map table. More...
#include <ExecutionEngine.h>
Public Types | |
| typedef StringMap< uint64_t > | GlobalAddressMapTy |
Public Member Functions | |
| GlobalAddressMapTy & | getGlobalAddressMap () |
| std::map< uint64_t, std::string > & | getGlobalAddressReverseMap () |
| uint64_t | RemoveMapping (StringRef Name) |
| Erase an entry from the mapping table. More... | |
Helper class for helping synchronize access to the global address map table.
Access to this class should be serialized under a mutex.
Definition at line 61 of file ExecutionEngine/ExecutionEngine.h.
| typedef StringMap<uint64_t> llvm::ExecutionEngineState::GlobalAddressMapTy |
Definition at line 63 of file ExecutionEngine/ExecutionEngine.h.
|
inline |
Definition at line 79 of file ExecutionEngine/ExecutionEngine.h.
Referenced by llvm::ExecutionEngine::addGlobalMapping(), llvm::ExecutionEngine::clearAllGlobalMappings(), llvm::ExecutionEngine::getAddressToGlobalIfAvailable(), llvm::ExecutionEngine::getGlobalValueAtAddress(), and llvm::ExecutionEngine::updateGlobalMapping().
|
inline |
Definition at line 83 of file ExecutionEngine/ExecutionEngine.h.
Referenced by llvm::ExecutionEngine::addGlobalMapping(), llvm::ExecutionEngine::clearAllGlobalMappings(), llvm::ExecutionEngine::getGlobalValueAtAddress(), and llvm::ExecutionEngine::updateGlobalMapping().
| uint64_t ExecutionEngineState::RemoveMapping | ( | StringRef | Name | ) |
Erase an entry from the mapping table.
ToUnmap was happed to. Definition at line 165 of file ExecutionEngine.cpp.
References llvm::StringMap< ValueTy, AllocatorTy >::end(), llvm::StringMap< ValueTy, AllocatorTy >::erase(), llvm::StringMap< ValueTy, AllocatorTy >::find(), and I.
Referenced by llvm::ExecutionEngine::clearGlobalMappingsFromModule(), and llvm::ExecutionEngine::updateGlobalMapping().
1.8.6