[Lldb-commits] [lldb] 3cabd17 - [ObjC] Dynamic type resolution logging should go to the types log.
Davide Italiano via lldb-commits
lldb-commits at lists.llvm.org
Mon Mar 9 15:35:59 PDT 2020
Author: Davide Italiano
Date: 2020-03-09T15:35:51-07:00
New Revision: 3cabd173a1e34febbf0351599b760a5516e64ec4
URL: https://github.com/llvm/llvm-project/commit/3cabd173a1e34febbf0351599b760a5516e64ec4
DIFF: https://github.com/llvm/llvm-project/commit/3cabd173a1e34febbf0351599b760a5516e64ec4.diff
LOG: [ObjC] Dynamic type resolution logging should go to the types log.
Added:
Modified:
lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.cpp
Removed:
################################################################################
diff --git a/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.cpp b/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.cpp
index 6b1cc56fc2b0..dc3753eb44b7 100644
--- a/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.cpp
+++ b/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.cpp
@@ -1207,7 +1207,8 @@ AppleObjCRuntimeV2::GetClassDescriptor(ValueObject &valobj) {
if (isa != LLDB_INVALID_ADDRESS) {
objc_class_sp = GetClassDescriptorFromISA(isa);
if (isa && !objc_class_sp) {
- Log *log(GetLogIfAllCategoriesSet(LIBLLDB_LOG_PROCESS));
+ Log *log(GetLogIfAnyCategoriesSet(LIBLLDB_LOG_PROCESS |
+ LIBLLDB_LOG_TYPES));
LLDB_LOGF(log,
"0x%" PRIx64
": AppleObjCRuntimeV2::GetClassDescriptor() ISA was "
More information about the lldb-commits
mailing list