[Lldb-commits] [lldb] [lldb] Guard SBFrame/SBThread methods against running processes (PR #152020)

Felipe de Azevedo Piovezan via lldb-commits lldb-commits at lists.llvm.org
Fri Aug 8 08:47:23 PDT 2025


felipepiovezan wrote:

@jimingham @JDevlieghere   With the latest commit, I created the new factory method and employed it throughout. It might be better to just check the last commit's diff.

The main change is in the `ExecutionContext` files, but all SBMethods have diffs. Since I had to update a few `.`s to use `->` instead (because of the `Expected`), I was slightly more aggressive when cleaning up the small SBMethods, especially when the changes would result in line deletions only. For the bigger methods, I once again preserved the smaller diff in favor of a "FIXME" comment and sub-optimal flow.

https://github.com/llvm/llvm-project/pull/152020


More information about the lldb-commits mailing list