diff options
| author | Adrian Prantl <aprantl@apple.com> | 2018-03-26 17:40:44 +0000 |
|---|---|---|
| committer | Adrian Prantl <aprantl@apple.com> | 2018-03-26 17:40:44 +0000 |
| commit | 7341691502da22b268f2908fde59622c83c29f18 (patch) | |
| tree | 3bf341ee2b4cd060017117febd415c89e9c50a13 | |
| parent | 26d4f923c4bca68cc20fa7c6a7500bb9f4ad8b28 (diff) | |
| download | bcm5719-llvm-7341691502da22b268f2908fde59622c83c29f18.tar.gz bcm5719-llvm-7341691502da22b268f2908fde59622c83c29f18.zip | |
Fix check for verbose logging.
Thanks to Pavel for pointing this out!
llvm-svn: 328557
| -rw-r--r-- | lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.cpp b/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.cpp index 8bcbba03a25..290ac226fd0 100644 --- a/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.cpp +++ b/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.cpp @@ -1440,8 +1440,7 @@ uint32_t AppleObjCRuntimeV2::ParseClassInfoArray(const DataExtractor &data, // uint32_t hash; // } __attribute__((__packed__)); - Log *log(GetLogIfAllCategoriesSet(LIBLLDB_LOG_TYPES - | LLDB_LOG_OPTION_VERBOSE)); + Log *log(GetLogIfAllCategoriesSet(LIBLLDB_LOG_TYPES)); uint32_t num_parsed = 0; // Iterate through all ClassInfo structures @@ -1450,7 +1449,7 @@ uint32_t AppleObjCRuntimeV2::ParseClassInfoArray(const DataExtractor &data, ObjCISA isa = data.GetPointer(&offset); if (isa == 0) { - if (log) + if (log && log->GetVerbose()) log->Printf( "AppleObjCRuntimeV2 found NULL isa, ignoring this class info"); continue; |

