Author: jingham Date: Wed Feb 17 19:28:22 2016 New Revision: 261183 URL: http://llvm.org/viewvc/llvm-project?rev=261183&view=rev Log: Add usage instructions for TypeSystemMap::AddToMap.
Modified: lldb/trunk/include/lldb/Symbol/TypeSystem.h Modified: lldb/trunk/include/lldb/Symbol/TypeSystem.h URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/include/lldb/Symbol/TypeSystem.h?rev=261183&r1=261182&r2=261183&view=diff ============================================================================== --- lldb/trunk/include/lldb/Symbol/TypeSystem.h (original) +++ lldb/trunk/include/lldb/Symbol/TypeSystem.h Wed Feb 17 19:28:22 2016 @@ -607,6 +607,8 @@ protected: GetTypeSystemForLanguage (lldb::LanguageType language, Target *target, bool can_create); protected: + // This function does not take the map mutex, and should only be called from + // functions that do take the mutex. void AddToMap (lldb::LanguageType language, lldb::TypeSystemSP const &type_system_sp); _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits