diff options
| author | Enrico Granata <egranata@apple.com> | 2016-02-18 19:23:52 +0000 |
|---|---|---|
| committer | Enrico Granata <egranata@apple.com> | 2016-02-18 19:23:52 +0000 |
| commit | c525d3d4c705b0f2a427a3f128d367fe0f9b1855 (patch) | |
| tree | 43107ec409901d3e62162f1918de5b7e5ccf6b0a /lldb | |
| parent | bd09e86f82ae520b804f50068ab129f3f0b72ab8 (diff) | |
| download | bcm5719-llvm-c525d3d4c705b0f2a427a3f128d367fe0f9b1855.tar.gz bcm5719-llvm-c525d3d4c705b0f2a427a3f128d367fe0f9b1855.zip | |
Fix a typo in FormatCache.cpp such that the cache would potentially return an invalid format in some cases
llvm-svn: 261246
Diffstat (limited to 'lldb')
| -rw-r--r-- | lldb/source/DataFormatters/FormatCache.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/DataFormatters/FormatCache.cpp b/lldb/source/DataFormatters/FormatCache.cpp index 748c6d80fbd..fa749405b60 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++; |

