Author: enrico Date: Thu Feb 18 13:23:52 2016 New Revision: 261246 URL: http://llvm.org/viewvc/llvm-project?rev=261246&view=rev Log: Fix a typo in FormatCache.cpp such that the cache would potentially return an invalid format in some cases
Modified: lldb/trunk/source/DataFormatters/FormatCache.cpp Modified: lldb/trunk/source/DataFormatters/FormatCache.cpp URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/DataFormatters/FormatCache.cpp?rev=261246&r1=261245&r2=261246&view=diff ============================================================================== --- lldb/trunk/source/DataFormatters/FormatCache.cpp (original) +++ lldb/trunk/source/DataFormatters/FormatCache.cpp Thu Feb 18 13:23:52 2016 @@ -183,7 +183,7 @@ FormatCache::GetFormat (const ConstStrin { Mutex::Locker lock(m_mutex); auto entry = GetEntry(type); - if (entry.IsSummaryCached()) + if (entry.IsFormatCached()) { #ifdef LLDB_CONFIGURATION_DEBUG m_cache_hits++; _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits