[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
Wed Jun 27 10:11:53 PDT 2018


teemperor created this revision.
teemperor added a reviewer: davide.

This patch adds the possibility to specify an exit code when calling quit.
We accept any int, even though it depends on the user what happens if the int is
out of the range of what the operating system supports as exit codes.

Fixes rdar://problem/38452312


https://reviews.llvm.org/D48659

Files:
  include/lldb/API/SBDebugger.h
  include/lldb/Core/Debugger.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
  source/API/SBDebugger.cpp
  source/Commands/CommandObjectQuit.cpp
  tools/driver/Driver.cpp
  tools/driver/Driver.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D48659.153115.patch
Type: text/x-patch
Size: 7909 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20180627/53f678bf/attachment.bin>


More information about the lldb-commits mailing list