Author: Jason Molenda Date: 2021-03-09T16:22:46-08:00 New Revision: ea659ea101a56a08c73be65ab62c3e180e37ca38
URL: https://github.com/llvm/llvm-project/commit/ea659ea101a56a08c73be65ab62c3e180e37ca38 DIFF: https://github.com/llvm/llvm-project/commit/ea659ea101a56a08c73be65ab62c3e180e37ca38.diff LOG: Log in SetPrivateState when unwind logging enabled It is easier to read the unwind logging when you can see when the inferior resumes / stops and we're doing new unwinds. Added: Modified: lldb/source/Target/Process.cpp Removed: ################################################################################ diff --git a/lldb/source/Target/Process.cpp b/lldb/source/Target/Process.cpp index 979c649bf6e0..63673735ea83 100644 --- a/lldb/source/Target/Process.cpp +++ b/lldb/source/Target/Process.cpp @@ -1352,8 +1352,8 @@ void Process::SetPrivateState(StateType new_state) { if (m_finalizing) return; - Log *log(lldb_private::GetLogIfAnyCategoriesSet(LIBLLDB_LOG_STATE | - LIBLLDB_LOG_PROCESS)); + Log *log(lldb_private::GetLogIfAnyCategoriesSet( + LIBLLDB_LOG_STATE | LIBLLDB_LOG_PROCESS | LIBLLDB_LOG_UNWIND)); bool state_changed = false; LLDB_LOGF(log, "Process::SetPrivateState (%s)", StateAsCString(new_state)); _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits