[PATCH] Fix getting environment variables for sanitizers needs on FreeBSD
joerg at britannica.bec.de
Tue Jul 8 06:01:48 PDT 2014
On Tue, Jul 08, 2014 at 04:23:28PM +0400, Dmitry Vyukov wrote:
> On Tue, Jul 8, 2014 at 3:10 PM, Joerg Sonnenberger
> <joerg at britannica.bec.de> wrote:
> > 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.
> It's not a cheap dependency in my context. It forces one to install C
> toolchain for starters (which is not trivial on e.g. windows), then
> imposes to use particular driver to call particular linker, etc.
Given that the context here was about FreeBSD, much of that is
More information about the llvm-commits