aboutsummaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
authorAaron Patterson <tenderlove@ruby-lang.org>2019-05-09 12:27:44 -0700
committerAaron Patterson <tenderlove@ruby-lang.org>2019-05-09 12:27:44 -0700
commit5f05851ae37050c7031a080e405f8773089d7c14 (patch)
treef0c6e61e293fc853aee75b02097a5a2833f5f95c /misc
parent025206d0dd29266771f166eb4f59609af602213a (diff)
downloadruby-5f05851ae37050c7031a080e405f8773089d7c14.tar.gz
add FROZEN to lldb debug output
Diffstat (limited to 'misc')
-rwxr-xr-xmisc/lldb_cruby.py2
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()