ruby-changes:55692
From: Aaron <ko1@a...>
Date: Fri, 10 May 2019 04:28:18 +0900 (JST)
Subject: [ruby-changes:55692] Aaron Patterson: 5f05851ae3 (trunk): add FROZEN to lldb debug output
https://git.ruby-lang.org/ruby.git/commit/?id=5f05851ae3 From 5f05851ae37050c7031a080e405f8773089d7c14 Mon Sep 17 00:00:00 2001 From: Aaron Patterson <tenderlove@r...> Date: Thu, 9 May 2019 12:27:44 -0700 Subject: add FROZEN to lldb debug output diff --git a/misc/lldb_cruby.py b/misc/lldb_cruby.py index 6a60725..71bb986 100755 --- a/misc/lldb_cruby.py +++ b/misc/lldb_cruby.py @@ -111,6 +111,8 @@ def lldb_inspect(debugger, target, result, val): https://github.com/ruby/ruby/blob/trunk/misc/lldb_cruby.py#L111 flags = val.GetValueForExpressionPath("->flags").GetValueAsUnsigned() if (flags & RUBY_FL_PROMOTED) == RUBY_FL_PROMOTED: print >> result, "[PROMOTED] " + if (flags & RUBY_FL_FREEZE) == RUBY_FL_FREEZE: + print >> result, "[FROZEN] " flType = flags & RUBY_T_MASK if flType == RUBY_T_NONE: print >> result, 'T_NONE: %s' % val.Dereference() -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/