[Lldb-commits] [PATCH] D116255: [lldb] [Process/FreeBSDKernel] Support finding all processes
Michał Górny via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Thu Jan 6 10:52:56 PST 2022
mgorny marked an inline comment as done.
mgorny added inline comments.
================
Comment at: lldb/test/API/functionalities/postmortem/FreeBSDKernel/TestFreeBSDKernelVMCore.py:60-61
+ self.assertEqual(
+ [thread.GetFrameAtIndex(i).addr.GetLoadAddress(target)
+ for i in range(thread.GetNumFrames())],
+ bt_expected)
----------------
labath wrote:
> If you want to be even more fancy :)
Neat. I didn't know threads are iterable like this. Unfortunately, swig makes it kinda hard to inspect stuff in a really Pythonic way.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D116255/new/
https://reviews.llvm.org/D116255
More information about the lldb-commits
mailing list