Go to file
Greg Clayton 1f982c2d22 Correctly get the arguments and environment, even for processes that have a large amount or arguments and/or environment variables.
We previously passed in a 8192 byte buffer but this wasn't large enough. We now calculate the size we need and then add 128 to it and get the environment. If we pass exactly the number of bytes it says is needs, the sysctl() returns junk. Adding 1 seemed to do the trick, but to err on the side of caution, I added a few bytes more.

<rdar://problem/21883842>

llvm-svn: 242729
2015-07-20 22:52:13 +00:00
clang [MS Compat] Add support for __declspec(noalias) 2015-07-20 22:51:52 +00:00
clang-tools-extra Extend misc-unused-parameters to delete parameters of local functions. 2015-07-20 03:42:38 +00:00
compiler-rt [asan] Speed up ASan unit tests by turning off symbolication 2015-07-20 15:03:39 +00:00
debuginfo-tests New round of fixes for "Always compile debuginfo-tests for the host triple" 2014-10-18 23:47:59 +00:00
libclc R600: Implement accurate double precision sqrt v2 2015-07-10 13:37:08 +00:00
libcxx Mark new tests as unsupported before C++11 2015-07-20 19:27:47 +00:00
libcxxabi Remove include directive for the unused libunwind_ext.h. 2015-07-12 14:47:53 +00:00
libunwind libunwind: Introduce __libunwind_config.h. 2015-07-19 15:23:10 +00:00
lld Update for llvm api change. 2015-07-20 20:08:04 +00:00
lldb Correctly get the arguments and environment, even for processes that have a large amount or arguments and/or environment variables. 2015-07-20 22:52:13 +00:00
llgo [llgo] cmd/gllgo: handle/ignore more flags 2015-07-17 08:15:01 +00:00
llvm Targets: commonize some stack realignment code 2015-07-20 22:51:32 +00:00
openmp [cmake] Support enabling -Werror in the OpenMP runtime CMake build and 2015-07-18 03:14:02 +00:00
polly GPURuntimeDebugPrinter: Printer pointer values (except if they are strings) 2015-07-17 13:57:57 +00:00