Log ObjC Runtime messages only in verbose mode
authorAdrian Prantl <aprantl@apple.com>
Fri, 23 Mar 2018 20:17:39 +0000 (20:17 +0000)
committerAdrian Prantl <aprantl@apple.com>
Fri, 23 Mar 2018 20:17:39 +0000 (20:17 +0000)
llvm-svn: 328365

lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.cpp

index bdf79f7..8bcbba0 100644 (file)
@@ -1440,8 +1440,8 @@ uint32_t AppleObjCRuntimeV2::ParseClassInfoArray(const DataExtractor &data,
   //        uint32_t hash;
   //    } __attribute__((__packed__));
 
-  Log *log(GetLogIfAnyCategoriesSet(LIBLLDB_LOG_PROCESS | LIBLLDB_LOG_TYPES));
-
+  Log *log(GetLogIfAllCategoriesSet(LIBLLDB_LOG_TYPES 
+                                    | LLDB_LOG_OPTION_VERBOSE));
   uint32_t num_parsed = 0;
 
   // Iterate through all ClassInfo structures