LLDB mainline
|
#include <ThreadSafeDenseMap.h>
Public Types | |
typedef llvm::DenseMap< _KeyType, _ValueType > | LLVMMapType |
Public Member Functions | |
ThreadSafeDenseMap (unsigned map_initial_capacity=0) | |
void | Insert (_KeyType k, _ValueType v) |
void | Erase (_KeyType k) |
_ValueType | Lookup (_KeyType k) |
bool | Lookup (_KeyType k, _ValueType &v) |
void | Clear () |
Protected Attributes | |
LLVMMapType | m_map |
std::mutex | m_mutex |
Definition at line 18 of file ThreadSafeDenseMap.h.
typedef llvm::DenseMap<_KeyType, _ValueType> lldb_private::ThreadSafeDenseMap< _KeyType, _ValueType >::LLVMMapType |
Definition at line 20 of file ThreadSafeDenseMap.h.
|
inline |
Definition at line 22 of file ThreadSafeDenseMap.h.
|
inline |
Definition at line 49 of file ThreadSafeDenseMap.h.
References lldb_private::ThreadSafeDenseMap< _KeyType, _ValueType >::m_map, and lldb_private::ThreadSafeDenseMap< _KeyType, _ValueType >::m_mutex.
|
inline |
Definition at line 30 of file ThreadSafeDenseMap.h.
References lldb_private::ThreadSafeDenseMap< _KeyType, _ValueType >::m_map, and lldb_private::ThreadSafeDenseMap< _KeyType, _ValueType >::m_mutex.
Referenced by lldb_private::TypeSystemClang::Finalize().
|
inline |
Definition at line 25 of file ThreadSafeDenseMap.h.
References lldb_private::ThreadSafeDenseMap< _KeyType, _ValueType >::m_map, and lldb_private::ThreadSafeDenseMap< _KeyType, _ValueType >::m_mutex.
Referenced by lldb_private::TypeSystemClang::CreateASTContext(), and lldb_private::ObjCLanguageRuntime::GetTypeBitSize().
|
inline |
Definition at line 35 of file ThreadSafeDenseMap.h.
References lldb_private::ThreadSafeDenseMap< _KeyType, _ValueType >::m_map, and lldb_private::ThreadSafeDenseMap< _KeyType, _ValueType >::m_mutex.
Referenced by lldb_private::TypeSystemClang::GetASTContext(), and lldb_private::ObjCLanguageRuntime::GetTypeBitSize().
|
inline |
Definition at line 40 of file ThreadSafeDenseMap.h.
References lldb_private::ThreadSafeDenseMap< _KeyType, _ValueType >::m_map, and lldb_private::ThreadSafeDenseMap< _KeyType, _ValueType >::m_mutex.
|
protected |
Definition at line 55 of file ThreadSafeDenseMap.h.
Referenced by lldb_private::ThreadSafeDenseMap< _KeyType, _ValueType >::Clear(), lldb_private::ThreadSafeDenseMap< _KeyType, _ValueType >::Erase(), lldb_private::ThreadSafeDenseMap< _KeyType, _ValueType >::Insert(), and lldb_private::ThreadSafeDenseMap< _KeyType, _ValueType >::Lookup().
|
protected |
Definition at line 56 of file ThreadSafeDenseMap.h.
Referenced by lldb_private::ThreadSafeDenseMap< _KeyType, _ValueType >::Clear(), lldb_private::ThreadSafeDenseMap< _KeyType, _ValueType >::Erase(), lldb_private::ThreadSafeDenseMap< _KeyType, _ValueType >::Insert(), and lldb_private::ThreadSafeDenseMap< _KeyType, _ValueType >::Lookup().