Author: emaste
Date: Fri Oct 18 15:32:25 2013
New Revision: 192999

URL: http://llvm.org/viewvc/llvm-project?rev=192999&view=rev
Log:
Fix build failure on FreeBSD/clang by using auto iterator type

Modified:
    
lldb/trunk/source/Plugins/DynamicLoader/POSIX-DYLD/DynamicLoaderPOSIXDYLD.cpp

Modified: 
lldb/trunk/source/Plugins/DynamicLoader/POSIX-DYLD/DynamicLoaderPOSIXDYLD.cpp
URL: 
http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/DynamicLoader/POSIX-DYLD/DynamicLoaderPOSIXDYLD.cpp?rev=192999&r1=192998&r2=192999&view=diff
==============================================================================
--- 
lldb/trunk/source/Plugins/DynamicLoader/POSIX-DYLD/DynamicLoaderPOSIXDYLD.cpp 
(original)
+++ 
lldb/trunk/source/Plugins/DynamicLoader/POSIX-DYLD/DynamicLoaderPOSIXDYLD.cpp 
Fri Oct 18 15:32:25 2013
@@ -571,7 +571,7 @@ static addr_t ReadPointer(Process *proce
 lldb::addr_t
 DynamicLoaderPOSIXDYLD::GetThreadLocalData (const lldb::ModuleSP module, const 
lldb::ThreadSP thread)
 {
-    std::map<ModuleWP, addr_t>::const_iterator it = m_loaded_modules.find 
(module);
+    auto it = m_loaded_modules.find (module);
     if (it == m_loaded_modules.end())
         return LLDB_INVALID_ADDRESS;
 


_______________________________________________
lldb-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/lldb-commits

Reply via email to