llvm-project/lldb/tools
Jan Kratochvil d0ac1888aa [lldb] Handle EOF from `lldb-vscode`
Sometimes (when running lldb-vscode under strace) I get:

read(0, "", 16)                         = 0
read(0, "", 16)                         = 0
read(0, "", 16)                         = 0
...

With this patch testcases finish properly even with strace:

read(0, "", 16)                         = 0
futex(0x1346508, FUTEX_WAKE_PRIVATE, 2147483647) = 0
stat("", 0x7ffe8f2634c8)                = -1 ENOENT (No such file or directory)
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_KILLED, si_pid=9124, si_uid=1001, si_status=SIGINT, si_utime=1, si_stime=0} ---
close(4)                                = 0
exit_group(0)                           = ?
+++ exited with 0 +++

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

llvm-svn: 366187
2019-07-16 06:34:44 +00:00
..
argdumper [CMake] `install-distribution` for LLDB on Darwin 2019-07-10 11:09:29 +00:00
compact-unwind *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
darwin-debug [CMake] `install-distribution` for LLDB on Darwin 2019-07-10 11:09:29 +00:00
darwin-threads the thread id is easier to read in base16. 2018-03-06 23:33:02 +00:00
debugserver [CMake] `install-distribution` for LLDB on Darwin 2019-07-10 11:09:29 +00:00
driver [windows] re-call signal in sigint_handler for Windows 2019-07-12 04:43:46 +00:00
intel-features Delete unnecessary copy ctors 2019-05-22 08:38:23 +00:00
lldb-instr [Reproducers] Capture return values of functions returning by ptr/ref 2019-04-03 21:31:22 +00:00
lldb-mi [CMake] LLDB.framework tools handling 2019-05-29 11:26:06 +00:00
lldb-perf/darwin/sketch Remove lldb-perf 2019-07-08 21:38:34 +00:00
lldb-server [CMake] Remove lldb-server from LLDB.framework 2019-05-29 11:28:11 +00:00
lldb-test Add convenience methods to convert LLDB to LLVM data structures. 2019-07-11 20:26:53 +00:00
lldb-vscode [lldb] Handle EOF from `lldb-vscode` 2019-07-16 06:34:44 +00:00
CMakeLists.txt [CMake] Reinstate LLDB_CAN_USE_LLDB_SERVER 2019-05-13 22:55:11 +00:00