forked from OSchip/llvm-project
Fix build failure on FreeBSD/clang by using auto iterator type
llvm-svn: 192999
This commit is contained in:
parent
3255134ac5
commit
f7920c8798
|
@ -571,7 +571,7 @@ static addr_t ReadPointer(Process *process, addr_t addr)
|
||||||
lldb::addr_t
|
lldb::addr_t
|
||||||
DynamicLoaderPOSIXDYLD::GetThreadLocalData (const lldb::ModuleSP module, const lldb::ThreadSP thread)
|
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())
|
if (it == m_loaded_modules.end())
|
||||||
return LLDB_INVALID_ADDRESS;
|
return LLDB_INVALID_ADDRESS;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue