[Lldb-commits] [lldb] r261183 - Add usage instructions for TypeSystemMap::AddToMap.

Jim Ingham via lldb-commits lldb-commits at lists.llvm.org
Wed Feb 17 17:28:23 PST 2016


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);
 




More information about the lldb-commits mailing list