[all-commits] [llvm/llvm-project] a952fe: [lldb] thread index common completion for commands...

Gongyu Deng via All-commits all-commits at lists.llvm.org
Tue Aug 11 04:27:44 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: a952fe236f993b531eceb89e0a18d25bba048185
      https://github.com/llvm/llvm-project/commit/a952fe236f993b531eceb89e0a18d25bba048185
  Author: Gongyu Deng <gy_deng at icloud.com>
  Date:   2020-08-11 (Tue, 11 Aug 2020)

  Changed paths:
    M lldb/include/lldb/Interpreter/CommandCompletions.h
    M lldb/source/Commands/CommandCompletions.cpp
    M lldb/source/Commands/CommandObjectThread.cpp
    M lldb/test/API/functionalities/completion/TestCompletion.py

  Log Message:
  -----------
  [lldb] thread index common completion for commands like `thread select/step-over`

1. Added a common completion completing with a list of the threads of the current process;
2. Apply the common completion above to these commands: thread
   continue/info/exception/select/step-in/step-inst/step-inst-over/step-out/step-over/step-script​
3. Correlated test case test_common_completion_thread_index.

Reviewed By: teemperor

Differential Revision: https://reviews.llvm.org/D84088




More information about the All-commits mailing list