[Lldb-commits] [lldb] r261246 - Fix a typo in FormatCache.cpp such that the cache would potentially return an invalid format in some cases
Enrico Granata via lldb-commits
lldb-commits at lists.llvm.org
Thu Feb 18 11:23:52 PST 2016
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++;
More information about the lldb-commits
mailing list