diff options
author | Nobuyoshi Nakada <[email protected]> | 2021-10-28 08:58:59 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <[email protected]> | 2021-10-28 08:58:59 +0900 |
commit | b74bf8dd8800e4d47923b99cf48e18c70ed59dbe () | |
tree | f8bc5281dd13678e8fe1f7b726462ee5529467c3 /misc/lldb_cruby.py | |
parent | 30942c19c039b8424f1648ee3bbdcc5e81698ebf (diff) |
Follow up the RString change [ci skip]
Since 46b66eb9e8e6de2d5750591e532310e8f8599d90, already `ary` has been enclosed in `embed`.
-rwxr-xr-x | misc/lldb_cruby.py | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -190,9 +190,8 @@ def string2cstr(rstring): cptr = int(rstring.GetValueForExpressionPath(".as.heap.ptr").value, 0) clen = int(rstring.GetValueForExpressionPath(".as.heap.len").value, 0) else: - # cptr = int(rstring.GetValueForExpressionPath(".as.embed.ary").location, 0) # clen = int(rstring.GetValueForExpressionPath(".as.embed.len").value, 0) - cptr = int(rstring.GetValueForExpressionPath(".as.ary").location, 0) clen = (flags & RSTRING_EMBED_LEN_MASK) >> RSTRING_EMBED_LEN_SHIFT return cptr, clen |