hanchenye-llvm-project/lldb
Greg Clayton 8df92678a1 <rdar://problem/13121056>
Fixed a crasher when the ConnectionFileDescriptor was used in a process with over FD_SETSIZE (1024) files open. It would corrupt the stack and cause the stack checker to assert and kill the program.

The final fix was to "#define _DARWIN_UNLIMITED_SELECT" at the top of the one and only file that uses select () in the LLDB codebase and then make an array of "fd_set" objects so they can handle more than 1024 file descriptors. The new code can handle as many file descriptors as a process can create.    
    

llvm-svn: 175378
2013-02-16 22:53:04 +00:00
..
docs Fix document typos, indentation in python code, and API examples. 2013-02-12 20:01:49 +00:00
examples Quick fix for the libc++ std::map synthetic children provider 2013-02-09 01:44:23 +00:00
include NSSet formatter is now C++ code 2013-02-15 23:38:37 +00:00
lib Continuing the fix for the r173732 fix. Now lldb gets built with Makefiles (Darwin). 2013-01-30 00:28:58 +00:00
lldb.xcodeproj Added a kqueue class which isn't being used yet, but was part of trying to work around the limitations with the unix select() call and how it is limited to FD_SETSIZE file descriptors. 2013-02-16 22:46:58 +00:00
lldb.xcworkspace
resources Get LLDB-Info.plist up to date with r169081. 2012-12-08 01:20:07 +00:00
scripts Fix document typos, indentation in python code, and API examples. 2013-02-12 20:01:49 +00:00
source <rdar://problem/13121056> 2013-02-16 22:53:04 +00:00
test Include a small argparse compatibility layer for Python < 2.7 2013-02-16 09:05:23 +00:00
tools Added a kqueue class which isn't being used yet, but was part of trying to work around the limitations with the unix select() call and how it is limited to FD_SETSIZE file descriptors. 2013-02-16 22:46:58 +00:00
utils Minor update to Vim frontend: simplify breakpoints display (and list unresolved breakpoints) 2013-02-12 00:31:40 +00:00
www Mention the inline-breakpoint-strategy in the lldb-gdb.html file. 2013-02-14 19:17:49 +00:00
.gitignore Remove "llvm" from list of things to ignore. This results in the 2012-03-03 06:43:59 +00:00
INSTALL.txt
LICENSE.TXT
Makefile Use libxml2 on Mac OS X. 2012-10-31 23:02:00 +00:00