[PATCH] Fix getting environment variables for sanitizers needs on FreeBSD

Joerg Sonnenberger joerg at britannica.bec.de
Tue Jul 8 04:10:23 PDT 2014


On Tue, Jul 08, 2014 at 01:34:11PM +0400, Dmitry Vyukov wrote:
> On Tue, Jul 8, 2014 at 1:17 PM, Viktor Kutuzov
> <vkutuzov at accesssoftek.com> wrote:
> >> crt1 is a part of C runtime. I am interested in complete independence of C world for Go runtime.
> >
> > We would need a special implementation for Go then, I believe.
> 
> Not necessary. If we have C crt-independent version for Go, then we
> don't need a separate C crt-dependent version for C++. Just as on
> linux we have GetEnv that reads a file from /proc.

Trading a (cheap) dependency on the process init code for a dependency
on /proc is something most people outside Linux will not consider an
improvement.

Joerg



More information about the llvm-commits mailing list