summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorNobuyoshi Nakada <[email protected]>2024-03-25 14:33:20 +0900
committerNobuyoshi Nakada <[email protected]>2024-03-25 14:33:20 +0900
commite720a6b48582900efd1bd326210644b2fc0f2c5d ()
treed6759ab42ea4b11e52ec5fa024f02cffb01a3cfb /misc
parent990e11b60eae06d7e8205405fc99320267b5843b (diff)
Show the chilled status of a String [ci skip]
-rw-r--r--misc/lldb_rb/utils.py4
1 files changed, 4 insertions, 0 deletions
@@ -119,6 +119,10 @@ class RbInspector(LLDBInterface):
self.result.write('T_STRING: %s' % flaginfo)
tRString = self.target.FindFirstType("struct RString").GetPointerType()
rb_enc_mask = self.ruby_globals["RUBY_ENCODING_MASK"]
rb_enc_shift = self.ruby_globals["RUBY_ENCODING_SHIFT"]
encidx = ((rval.flags & rb_enc_mask) >> rb_enc_shift)