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

Evgeniy Stepanov eugenis at google.com
Fri Jan 13 04:50:58 PST 2012


Looks good.

On Fri, Jan 13, 2012 at 4:49 PM, Alexander Potapenko <glider at google.com>wrote:

> I've removed "static" from asan_linux.cc to fix compilation on Linux.
>
> On Fri, Jan 13, 2012 at 4:35 PM, Alexander Potapenko <glider at google.com>
> wrote:
> > 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
>
>
>
> --
> Alexander Potapenko
> Software Engineer
> Google Moscow
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20120113/8721a195/attachment.html>


More information about the llvm-commits mailing list