Skip to content
Commit 553c208d authored by Alexander Potapenko's avatar Alexander Potapenko
Browse files

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
parent 2ca1aa5a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment