summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/DynamicLoader
diff options
context:
space:
mode:
authorEd Maste <emaste@freebsd.org>2013-10-18 20:32:25 +0000
committerEd Maste <emaste@freebsd.org>2013-10-18 20:32:25 +0000
commitf7920c8798d76dca89186875cf5ca376dce5fda6 (patch)
tree8462c7b4d53e5d45856a81dc27c243fd6ed6b10c /lldb/source/Plugins/DynamicLoader
parent3255134ac516413f34aba4ef7125ec6b3493764a (diff)
downloadbcm5719-llvm-f7920c8798d76dca89186875cf5ca376dce5fda6.tar.gz
bcm5719-llvm-f7920c8798d76dca89186875cf5ca376dce5fda6.zip
Fix build failure on FreeBSD/clang by using auto iterator type
llvm-svn: 192999
Diffstat (limited to 'lldb/source/Plugins/DynamicLoader')
-rw-r--r--lldb/source/Plugins/DynamicLoader/POSIX-DYLD/DynamicLoaderPOSIXDYLD.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Plugins/DynamicLoader/POSIX-DYLD/DynamicLoaderPOSIXDYLD.cpp b/lldb/source/Plugins/DynamicLoader/POSIX-DYLD/DynamicLoaderPOSIXDYLD.cpp
index cb7adc4f3ec..daccd091fa0 100644
--- a/lldb/source/Plugins/DynamicLoader/POSIX-DYLD/DynamicLoaderPOSIXDYLD.cpp
+++ b/lldb/source/Plugins/DynamicLoader/POSIX-DYLD/DynamicLoaderPOSIXDYLD.cpp
@@ -571,7 +571,7 @@ static addr_t ReadPointer(Process *process, addr_t addr)
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;
OpenPOWER on IntegriCloud