diff options
| author | Alexander Potapenko <glider@google.com> | 2012-01-13 12:59:48 +0000 |
|---|---|---|
| committer | Alexander Potapenko <glider@google.com> | 2012-01-13 12:59:48 +0000 |
| commit | 553c208d229e92a52e0d3e594ae1183a73e65c82 (patch) | |
| tree | a37c5b76a647f0fe6e36a302d439f37783002702 /clang/lib/CodeGen/CodeGenModule.cpp | |
| parent | 2ca1aa5a44aae6a546b23f07988a6282cd103f48 (diff) | |
| download | llvm-553c208d229e92a52e0d3e594ae1183a73e65c82.zip llvm-553c208d229e92a52e0d3e594ae1183a73e65c82.tar.gz llvm-553c208d229e92a52e0d3e594ae1183a73e65c82.tar.bz2 | |
This patch moves the code reading /proc/self/environ into AsanGetEnv
in asan_linux.cc, because /proc is unavailable on Mac.
Instead the Mac version of AsanGetEnv iterates over the array of
environment variables obtained from _NSGetEnviron()
llvm-svn: 148114
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions
