On Thu, Feb 21, 2013 at 02:16:19PM +0400, Konstantin Serebryany wrote: > The attached patch is the libsanitizer merge from upstream r175042. > > A few changes. Among other things: > - a second attempt to change the shadow offset to 0x7fff8000 (~5% > speedup). x86_64-linux-only
I've been applying that i386.c change + asan_mapping.h and asan_rtl.cc changes in our tree for a few days, and it looks good on all platforms where asan is supported (i686, x86_64, ppc, ppc64). > - asan_init is now called from preinit_array (linux only) > > Patch for libsanitizer is automatically generated by libsanitizer/merge.sh > Tested with > rm -rf */{*/,}libsanitizer \ > && make -j 50 \ > && make -C gcc check-g{cc,++} > RUNTESTFLAGS='--target_board=unix\{-m32,-m64\} asan.exp' > > Our internal LLVM bots (Linux, Mac and Android) are green. > > Ok to commit? Yes, thanks. Jakub