diff options
author | Greg Clayton <gclayton@apple.com> | 2013-02-16 22:53:04 +0000 |
---|---|---|
committer | Greg Clayton <gclayton@apple.com> | 2013-02-16 22:53:04 +0000 |
commit | 8df92678a1ea2be2f661daa55b8c2f0472c987d8 (patch) | |
tree | beecee55062f7a3b1f63ac5bbfec15345db811b8 /llvm/lib/CodeGen/MachineBasicBlock.cpp | |
parent | e48310dc6bcedb3803a1939d479c05236957a889 (diff) | |
download | llvm-8df92678a1ea2be2f661daa55b8c2f0472c987d8.zip llvm-8df92678a1ea2be2f661daa55b8c2f0472c987d8.tar.gz llvm-8df92678a1ea2be2f661daa55b8c2f0472c987d8.tar.bz2 |
<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
Diffstat (limited to 'llvm/lib/CodeGen/MachineBasicBlock.cpp')
0 files changed, 0 insertions, 0 deletions