From: Enrico Granata Date: Thu, 18 Feb 2016 19:23:52 +0000 (+0000) Subject: Fix a typo in FormatCache.cpp such that the cache would potentially return an invalid... X-Git-Tag: llvmorg-3.9.0-rc1~13811 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c525d3d4c705b0f2a427a3f128d367fe0f9b1855;p=platform%2Fupstream%2Fllvm.git Fix a typo in FormatCache.cpp such that the cache would potentially return an invalid format in some cases llvm-svn: 261246 --- diff --git a/lldb/source/DataFormatters/FormatCache.cpp b/lldb/source/DataFormatters/FormatCache.cpp index 748c6d8..fa74940 100644 --- a/lldb/source/DataFormatters/FormatCache.cpp +++ b/lldb/source/DataFormatters/FormatCache.cpp @@ -183,7 +183,7 @@ FormatCache::GetFormat (const ConstString& type,lldb::TypeFormatImplSP& format_s { Mutex::Locker lock(m_mutex); auto entry = GetEntry(type); - if (entry.IsSummaryCached()) + if (entry.IsFormatCached()) { #ifdef LLDB_CONFIGURATION_DEBUG m_cache_hits++;