[Lldb-commits] [PATCH] D33426: Introduce new command: thread unique-stacks

2017-05-22 Thread Brian Gianforcaro via Phabricator via lldb-commits
bgianfo updated this revision to Diff 99844. bgianfo marked 3 inline comments as done. bgianfo added a comment. This iteration addresses Jim's feedback. I've updated all of the code to match the surrounding style where I missed it originally. (branches/variable names) I also moved the command un

[Lldb-commits] [PATCH] D33426: Introduce new command: thread unique-stacks

2017-05-22 Thread Jim Ingham via Phabricator via lldb-commits
jingham requested changes to this revision. jingham added a comment. This revision now requires changes to proceed. The idea is great. I think it is a little confusing that you would do: (lldb) thread backtrace all to get all threads but (lldb) thread unique-stacks to backtrace the unique s

[Lldb-commits] [PATCH] D33426: Introduce new command: thread unique-stacks

2017-05-22 Thread Brian Gianforcaro via Phabricator via lldb-commits
bgianfo created this revision. This patch introduces a new thread command "unique-stacks". The command is based off of "thread backtrace all" but will instead find all threads which share matching call stacks and de-duplicate their output, listing call stack and all the threads which share it. Thi