LLVM 20.0.0git
|
Helper class for helping synchronize access to the global address map table. More...
#include "llvm/ExecutionEngine/ExecutionEngine.h"
Public Types | |
using | GlobalAddressMapTy = StringMap< uint64_t > |
Public Member Functions | |
GlobalAddressMapTy & | getGlobalAddressMap () |
std::map< uint64_t, std::string > & | getGlobalAddressReverseMap () |
uint64_t | RemoveMapping (StringRef Name) |
Erase an entry from the mapping table. | |
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 64 of file ExecutionEngine.h.
Definition at line 66 of file ExecutionEngine.h.
|
inline |
Definition at line 80 of file ExecutionEngine.h.
Referenced by llvm::ExecutionEngine::addGlobalMapping(), llvm::ExecutionEngine::clearAllGlobalMappings(), llvm::ExecutionEngine::getAddressToGlobalIfAvailable(), llvm::ExecutionEngine::getGlobalValueAtAddress(), and llvm::ExecutionEngine::updateGlobalMapping().
|
inline |
Definition at line 84 of file ExecutionEngine.h.
Referenced by llvm::ExecutionEngine::addGlobalMapping(), llvm::ExecutionEngine::clearAllGlobalMappings(), llvm::ExecutionEngine::getGlobalValueAtAddress(), and llvm::ExecutionEngine::updateGlobalMapping().
Erase an entry from the mapping table.
ToUnmap
was mapped to. Definition at line 171 of file ExecutionEngine.cpp.
References llvm::StringMap< ValueTy, AllocatorTy >::end(), llvm::StringMap< ValueTy, AllocatorTy >::erase(), llvm::StringMap< ValueTy, AllocatorTy >::find(), I, and Name.
Referenced by llvm::ExecutionEngine::clearGlobalMappingsFromModule(), and llvm::ExecutionEngine::updateGlobalMapping().