diff options
| author | Jim Ingham <jingham@apple.com> | 2012-05-18 00:05:52 +0000 |
|---|---|---|
| committer | Jim Ingham <jingham@apple.com> | 2012-05-18 00:05:52 +0000 |
| commit | 65960aec4a899aa5921567cf466907a4bb4068d0 (patch) | |
| tree | 26006303bf0b8ac1ca670c782ce5f7a1fd52a624 | |
| parent | 0ca92a15b012a9d52ce433d3d42428209bc02a96 (diff) | |
| download | bcm5719-llvm-65960aec4a899aa5921567cf466907a4bb4068d0.tar.gz bcm5719-llvm-65960aec4a899aa5921567cf466907a4bb4068d0.zip | |
Make the debug output that comes as printf's from code called in the target for getting ObjC class names and ObjC method implementations only come out when doing verbose logging.
llvm-svn: 157029
| -rw-r--r-- | lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.cpp | 2 | ||||
| -rw-r--r-- | lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCTrampolineHandler.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.cpp b/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.cpp index 2c6961e1f19..f00d947e774 100644 --- a/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.cpp +++ b/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.cpp @@ -121,7 +121,7 @@ AppleObjCRuntimeV2::RunFunctionToFindClassName(addr_t object_addr, Thread *threa LogSP log(GetLogIfAllCategoriesSet (LIBLLDB_LOG_STEP)); // FIXME - a more appropriate log channel? int32_t debug; - if (log) + if (log && log->GetVerbose()) debug = 1; else debug = 0; diff --git a/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCTrampolineHandler.cpp b/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCTrampolineHandler.cpp index 43da89959cb..f8cab06732d 100644 --- a/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCTrampolineHandler.cpp +++ b/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCTrampolineHandler.cpp @@ -966,7 +966,7 @@ AppleObjCTrampolineHandler::GetStepThroughDispatchPlan (Thread &thread, bool sto dispatch_values.PushValue (flag_value); break; } - if (log) + if (log && log->GetVerbose()) flag_value.GetScalar() = 1; else flag_value.GetScalar() = 0; // FIXME - Set to 0 when debugging is done. |

