[all-commits] [llvm/llvm-project] e1cd7c: [lldb] Tab completion for process load/unload

Gongyu Deng via All-commits all-commits at lists.llvm.org
Fri Aug 21 01:37:15 PDT 2020


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

  Changed paths:
    M lldb/include/lldb/Target/Process.h
    M lldb/source/Commands/CommandObjectProcess.cpp
    M lldb/test/API/functionalities/completion/Makefile
    M lldb/test/API/functionalities/completion/TestCompletion.py
    A lldb/test/API/functionalities/completion/shared.cpp

  Log Message:
  -----------
  [lldb] Tab completion for process load/unload

1. Complete `process load` with the common disk file completion, so there is not test provided for it;
2. Complete `process unload` with the tokens of valid loaded images.

Thanks for Raphael's help on the test for `process unload`.

Reviewed By: teemperor

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




More information about the All-commits mailing list