[llvm-commits] [PATCH] asan-rt: getenv() from .preinit_array

Evgeniy Stepanov eugeni.stepanov at gmail.com
Wed Dec 21 03:57:23 PST 2011


Hi,

this patch brings in the implementation of GetenvBeforeMain() from
google-perftools and uses it in place of getenv(). This is required to
call __asan_init from .preinit_array.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: getenv.patch
Type: text/x-patch
Size: 3691 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20111221/c625756a/attachment.bin>


More information about the llvm-commits mailing list