[all-commits] [llvm/llvm-project] b2b7db: [lldb] stop-hook ID common completion for commands...

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


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: b2b7dbb47aa9aff1252d4440bb9986df5a7e67cb
      https://github.com/llvm/llvm-project/commit/b2b7dbb47aa9aff1252d4440bb9986df5a7e67cb
  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/CommandObjectTarget.cpp
    M lldb/test/API/functionalities/completion/TestCompletion.py

  Log Message:
  -----------
  [lldb] stop-hook ID common completion for commands `target stop-hook enable/disable/delete'

1. Added a common completion StopHookIDs to provide completion with a list of stop hook ids;
2. Applied the common completion to commands: `target stop-hook delete/enable/disable';
3. Added an related test case.

Reviewed By: teemperor

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




More information about the All-commits mailing list