Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 1b9c41dab201db3cff35d6d364fda942ba98274c
      
https://github.com/WebKit/WebKit/commit/1b9c41dab201db3cff35d6d364fda942ba98274c
  Author: Vassili Bykov <[email protected]>
  Date:   2025-05-11 (Sun, 11 May 2025)

  Changed paths:
    M Tools/lldb/debug_ipint.py

  Log Message:
  -----------
  debug_ipint.py lldb extension does not always correctly display the current 
instruction
https://bugs.webkit.org/show_bug.cgi?id=292821
rdar://151074679

Reviewed by Yusuke Suzuki.

The patch changes the logic that populates the instruction location map 
(`instruction_locs`,
formerly `breakpoint_locs`) to direcly resolve the corresponding symbols 
instead of relying on
instruction breakpoints being set. Additionaly, that is done lazily until 
successful.

This apoproach handles the scenario when the `set_breakpoints` command is 
issued before starting the
program, and breakpoint locations can't yet be unresolved. And of course, this 
approach works
even if no instruction breakpoints are set.

We also distinguish between the top and the selected stack frames, which 
handles the case when an
IPInt frame is not the top and we select it using `frame select`.

The patch also tweaks the presentation of ipint status to tighten it up and 
make it easier to scan
visually.

Canonical link: https://commits.webkit.org/294765@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to