[Lldb-commits] [PATCH] D24591: [LIT] First pass of LLDB LIT support

Sean Callanan via lldb-commits lldb-commits at lists.llvm.org
Wed Sep 14 15:51:14 PDT 2016


How different is that really from

(lldb) script lldb.frame.FindVariable("argc").GetValue()
'1'
(lldb) script lldb.process.GetNumThreads()
1
(lldb) script lldb.process.GetThreadAtIndex(0).GetThreadID()
3514809

?  If it's developer-only, then this is even fairly well-documented using e.g. "script dir(lldb.process)"

> On Sep 14, 2016, at 3:43 PM, Zachary Turner <zturner at google.com> wrote:
> 
>  (lldb) print-dev stack-frame[0].params[argc]
>  3
>  (lldb) print-dev threads.count
>  7
>  (lldb) print-dev --hex threads[6].id
>  0x1234

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20160914/7183e753/attachment.html>


More information about the lldb-commits mailing list