https://bugs.kde.org/show_bug.cgi?id=393146

Ellis Breen <ellis.br...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ellis.br...@gmail.com

--- Comment #1 from Ellis Breen <ellis.br...@gmail.com> ---
Have seen the same. A quick workaround seems to shortcut is_DebugInfo_active:

>From be6aba76267a1302fb72db8836e83023e4971203 Mon Sep 17 00:00:00 2001
From: Ellis Breen <ellis.br...@couchbase.com>
Date: Tue, 26 Jun 2018 17:32:54 +0100
Subject: [PATCH] 393146: Temporary workaround for Darwin

---
 coregrind/m_debuginfo/debuginfo.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/coregrind/m_debuginfo/debuginfo.c
b/coregrind/m_debuginfo/debuginfo.c
index 13991b69a..ab05330b4 100644
--- a/coregrind/m_debuginfo/debuginfo.c
+++ b/coregrind/m_debuginfo/debuginfo.c
@@ -162,6 +162,8 @@ static inline Bool is_DebugInfo_allocated ( const
DebugInfo* di )
 // Is this DebugInfo currently "active" (valid for the current epoch) ?
 static inline Bool is_DebugInfo_active ( const DebugInfo* di )
 {
+    // Temporary workaround for 393146
+#ifndef VGO_darwin
    if (!is_DiEpoch_INVALID(di->first_epoch)
        && is_DiEpoch_INVALID(di->last_epoch)) {
       // Yes it is active.  Sanity check ..
@@ -170,6 +172,9 @@ static inline Bool is_DebugInfo_active ( const DebugInfo*
di )
    } else {
       return False;
    }
+#else
+   return True;
+#endif
 }

 // Is this DebugInfo currently "archived" ?
-- 
2.17.1

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to