llvm-project/lldb/tools
Hafiz Abid Qadeer fcbc3cdf3c Replace ioctl with select to reduce processor usage by lldb-mi on OSX.
This saga started with a hang on OSX. 2 solutions were proposed.
1) 'select' based solution works ok on OSX but slows down test completion time
on Linux many times.
2) 'ioctl' base solution also works but it causes heavy processor usage on OSX
as reported by Ilia K.

But as the original hang did not occur on Linux so this commit re-introduces the
'select' in conditional code so that it only runs for OSX. There is no need for
this 'fix' to run on Linux.

Initial patch by Ilia K <ki.stfu@gmail.com>. A few changes were made by me. 

llvm-svn: 224258
2014-12-15 19:09:40 +00:00
..
compact-unwind The lldb unwinder can now use the unwind information from the compact-unwind 2014-12-08 03:09:00 +00:00
darwin-debug Fix typos. 2014-07-01 21:22:11 +00:00
darwin-threads Fix examine-threads to build for arm64. 2014-11-14 22:58:25 +00:00
debugserver Handle thumb IT instructions correctly all the time. 2014-12-09 23:31:02 +00:00
driver Make the sourcing of the local .lldbinit file quiet. 2014-11-22 01:33:22 +00:00
install-headers Fixed our install-headers script to set version 2014-07-17 17:26:38 +00:00
lldb-gdbserver Make LLGS to open a named pipe and write a listening port to it only when a proper port value is received. 2014-11-27 20:51:24 +00:00
lldb-mi Replace ioctl with select to reduce processor usage by lldb-mi on OSX. 2014-12-15 19:09:40 +00:00
lldb-perf Cleanup how we listen for process events by using the broadcaster class name instead of having to catch each process instance as it comes alive. 2014-08-18 21:09:50 +00:00
lldb-platform Remove unused change to argc/argv after long option parsing has been completed. 2014-10-16 01:50:14 +00:00
CMakeLists.txt LLGS Android target support - for Andy Chien : http://reviews.llvm.org/D6166 2014-11-08 01:41:49 +00:00
Makefile Avoid building lldb-mi when --enable-werror is set 2014-11-04 23:30:30 +00:00