HomePhabricator

[lldb] stop-hook ID common completion for commands `target stop-hook…

Authored by MrHate on Aug 11 2020, 4:13 AM.

Description

[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