Fixed a kernel panic that would occur if you debug anything on MacOSX 10.7 or earlier...
authorGreg Clayton <gclayton@apple.com>
Wed, 8 Jan 2014 18:02:51 +0000 (18:02 +0000)
committerGreg Clayton <gclayton@apple.com>
Wed, 8 Jan 2014 18:02:51 +0000 (18:02 +0000)
commit2210624d86d15b0ccd024a60b5502802410df293
treeacfdc7feaac5b35723d2a7942ec0df96388d27fe
parentac8c55222ef8d4f42e875755433e9e139f14ef35
Fixed a kernel panic that would occur if you debug anything on MacOSX 10.7 or earlier due to the use of the POSIX_SPAWN_CLOEXEC_DEFAULT attribute flag that closes all file descriptors on exec. We now dyamically detect the OS version and do the right thing.

llvm-svn: 198776
lldb/source/Host/macosx/Host.mm