Skip to content
  • Étienne Barrié's avatar
    e1f544c1
    Always look for the top-level RBasic in LLDB scripts · e1f544c1
    Étienne Barrié authored
    `rp` and other commands were broken for me because they always showed
    the object as a T_NONE.
    
    The reason was that instead of returning the type `struct RBasic`,
    FindFirstType("struct RBasic") was returning
    `yjit::cruby::autogened::RBasic`.
    
    Explicitly asking for the top-level RBasic by prefixing it with `::` is
    enough to fix those commands.
    e1f544c1
    Always look for the top-level RBasic in LLDB scripts
    Étienne Barrié authored
    `rp` and other commands were broken for me because they always showed
    the object as a T_NONE.
    
    The reason was that instead of returning the type `struct RBasic`,
    FindFirstType("struct RBasic") was returning
    `yjit::cruby::autogened::RBasic`.
    
    Explicitly asking for the top-level RBasic by prefixing it with `::` is
    enough to fix those commands.
Loading