https://github.com/marcauberer updated https://github.com/llvm/llvm-project/pull/89680
>From b626dc5e116fc6c566f8a3be50fac173aa5df653 Mon Sep 17 00:00:00 2001 From: Marc Auberer <marc.aube...@chillibits.com> Date: Tue, 23 Apr 2024 00:05:53 +0200 Subject: [PATCH] [lldb] Fix typo in CumulativeSystemTimeIsValid check --- lldb/include/lldb/Utility/ProcessInfo.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lldb/include/lldb/Utility/ProcessInfo.h b/lldb/include/lldb/Utility/ProcessInfo.h index e9fe71e1b851d1..54ac000dc7fc28 100644 --- a/lldb/include/lldb/Utility/ProcessInfo.h +++ b/lldb/include/lldb/Utility/ProcessInfo.h @@ -234,7 +234,7 @@ class ProcessInstanceInfo : public ProcessInfo { bool CumulativeSystemTimeIsValid() const { return m_cumulative_system_time.tv_sec > 0 || - m_cumulative_system_time.tv_sec > 0; + m_cumulative_system_time.tv_usec > 0; } void Dump(Stream &s, UserIDResolver &resolver) const; _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits