diff options
author | Aaron Patterson <tenderlove@ruby-lang.org> | 2019-05-09 12:27:44 -0700 |
---|---|---|
committer | Aaron Patterson <tenderlove@ruby-lang.org> | 2019-05-09 12:27:44 -0700 |
commit | 5f05851ae37050c7031a080e405f8773089d7c14 (patch) | |
tree | f0c6e61e293fc853aee75b02097a5a2833f5f95c /misc | |
parent | 025206d0dd29266771f166eb4f59609af602213a (diff) |
add FROZEN to lldb debug output
Diffstat (limited to 'misc')
-rwxr-xr-x | misc/lldb_cruby.py | 2 |
1 files changed, 2 insertions, 0 deletions
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() |