• Jakob Linke's avatar
    [maglev] Add NodeBase::Print() for GDB · d4482c07
    Jakob Linke authored
    .. where we sometimes want to inspect Node contents. With this CL, for
    a human-readable print in gdb:
    
     print node->Print()
    
    Note: Since we use an adhoc-created graph labeller, the output can't
    properly identify input nodes and instead prints them as 'unregistered
    node'.
    
    Bug: v8:7700
    Change-Id: Icba458ac1a5c43a09b815e12582443aca4e19380
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3890914
    Auto-Submit: Jakob Linke <jgruber@chromium.org>
    Commit-Queue: Jakob Linke <jgruber@chromium.org>
    Reviewed-by: 's avatarLeszek Swirski <leszeks@chromium.org>
    Commit-Queue: Leszek Swirski <leszeks@chromium.org>
    Cr-Commit-Position: refs/heads/main@{#83151}
    d4482c07