From 5f05851ae37050c7031a080e405f8773089d7c14 Mon Sep 17 00:00:00 2001 From: Aaron Patterson Date: Thu, 9 May 2019 12:27:44 -0700 Subject: add FROZEN to lldb debug output --- misc/lldb_cruby.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'misc') diff --git a/misc/lldb_cruby.py b/misc/lldb_cruby.py index 6a60725294..71bb98679f 100755 --- a/misc/lldb_cruby.py +++ b/misc/lldb_cruby.py @@ -111,6 +111,8 @@ def lldb_inspect(debugger, target, result, val): 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 v1.2.3