[Lldb-commits] [PATCH] D48659: Allow specifying an exit code for the 'quit' command

Raphael Isemann via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Thu Jul 5 14:34:25 PDT 2018


teemperor updated this revision to Diff 154318.
teemperor added a comment.

- Client now has to explicitly allow the acceptance of exit codes.
- Moved logic to the CommandInterpreter.
- Added more tests.

Thanks for the feedback Jim and Greg, very much appreciated!


https://reviews.llvm.org/D48659

Files:
  include/lldb/API/SBCommandInterpreter.h
  include/lldb/Interpreter/CommandInterpreter.h
  lit/Quit/TestQuitExitCode-30.test
  lit/Quit/TestQuitExitCode0.test
  lit/Quit/TestQuitExitCode30.test
  lit/Quit/TestQuitExitCodeHex0.test
  lit/Quit/TestQuitExitCodeHexA.test
  lit/Quit/TestQuitExitCodeImplicit0.test
  lit/Quit/TestQuitExitCodeNonInt.test
  lit/Quit/TestQuitExitCodeTooManyArgs.test
  lit/Quit/expect_exit_code.py
  lit/Quit/lit.local.cfg
  packages/Python/lldbsuite/test/quit/TestQuit.py
  scripts/interface/SBCommandInterpreter.i
  source/API/SBCommandInterpreter.cpp
  source/Commands/CommandObjectQuit.cpp
  source/Interpreter/CommandInterpreter.cpp
  tools/driver/Driver.cpp
  tools/driver/Driver.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D48659.154318.patch
Type: text/x-patch
Size: 14005 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20180705/a464567e/attachment.bin>


More information about the lldb-commits mailing list