[PATCH] Fix getting environment variables for sanitizers needs on FreeBSD
Viktor Kutuzov
vkutuzov at accesssoftek.com
Tue Jul 8 02:17:20 PDT 2014
> Does the current version work on freebsd?
Yes, though I need to update the patch to handle the case with null 'environ' first. Will do ASAP.
> What's the purpose of removing libc dependency from there?
AFAIU, the less we tied to libc in things like that, the less the need to handle under-initialized sanitizers in intercepted functions.
> 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.
http://reviews.llvm.org/D4229
More information about the llvm-commits
mailing list