[llvm-commits] [PATCH] AddressSanitizer: implement AsanGetEnv

Alexander Potapenko glider at google.com
Fri Jan 13 04:35:50 PST 2012


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()

-- 
Alexander Potapenko
Software Engineer
Google Moscow
-------------- next part --------------
A non-text attachment was scrubbed...
Name: asan-getenv.patch
Type: text/x-patch
Size: 4732 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20120113/7575a9c0/attachment.bin>


More information about the llvm-commits mailing list