diff options
| author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2026-01-30 21:07:59 +0900 |
|---|---|---|
| committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2026-01-30 21:08:57 +0900 |
| commit | dddb6511184e24413618645af9ed1ea7e8ae06ac (patch) | |
| tree | 09cb9934ee7ac1d28cc5af3d3d60305b1ca96348 | |
| parent | 5911a5231e6ec7bb50e15886ec2f3c5aae4e175e (diff) | |
Compare the canonical type name [ci skip]
Members of node types are defined using the canonical types, instead
of the typedef names.
| -rw-r--r-- | misc/lldb_rb/utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/lldb_rb/utils.py b/misc/lldb_rb/utils.py index 1415dd3f33..e0cb609b1a 100644 --- a/misc/lldb_rb/utils.py +++ b/misc/lldb_rb/utils.py @@ -292,7 +292,7 @@ class RbInspector(LLDBInterface): # if val.GetType() != tRNode: does not work for unknown reason - if val.GetType().GetPointeeType().name != "NODE": + if val.GetType().GetPointeeType().GetCanonicalType().name != "RNode": return False rbNodeTypeMask = self.ruby_globals["RUBY_NODE_TYPEMASK"] |
