hanchenye-llvm-project/lldb
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
..
cmake LLGS Android target support (r221570) missed adding some files: http://reviews.llvm.org/D6166 2014-11-10 15:06:15 +00:00
docs Fix lldb(1) man page formatting 2014-11-24 15:01:11 +00:00
examples Improved the TreeItem delegate which simplifies making tree items: 2014-10-07 17:30:23 +00:00
gtest Added StringExtractor::DecodeHexU8 && GetHexBytesAvail 2014-12-01 22:19:33 +00:00
include Move a bunch of method implementations over to the C++ file; remove the need for a few includes. All in all, good stuff 2014-12-13 02:07:50 +00:00
lib Fix some bugs from D5988 2014-10-31 15:57:52 +00:00
lldb.xcodeproj The lldb unwinder can now use the unwind information from the compact-unwind 2014-12-08 03:09:00 +00:00
lldb.xcworkspace Fixup gtest layout, add Linux ThreadStateCoordinator.cpp. 2014-09-25 19:25:07 +00:00
resources Bump the verison number in the xcode project files. 2014-08-21 23:27:02 +00:00
scripts Add the ability for an SBValue to create a persisted version of itself. 2014-12-08 23:13:56 +00:00
source Make the platform process connect path less chatty. 2014-12-13 05:23:51 +00:00
test Tests will timeout if they exceed time limit. 2014-12-13 00:08:19 +00:00
tools Replace ioctl with select to reduce processor usage by lldb-mi on OSX. 2014-12-15 19:09:40 +00:00
utils
www Add an initial description of the rules for constructing new SB API classes. 2014-12-06 00:28:05 +00:00
.arcconfig
.clang-format Fix .clang-format file to adhere to LLDB 140 column limit. 2014-08-19 17:18:38 +00:00
.gitignore Add a method to disable the Windows crash / assert dialogs. 2014-12-12 18:10:52 +00:00
CMakeLists.txt LLGS Android target support - for Andy Chien : http://reviews.llvm.org/D6166 2014-11-08 01:41:49 +00:00
INSTALL.txt Revert "git-svn test commit" 2014-11-18 22:45:59 +00:00
LICENSE.TXT
Makefile Remove the -Wno-unused-function option. We are clean 2014-09-09 07:49:15 +00:00