libsanitizer merge from upstream r175042

Konstantin Serebryany konstantin.s.serebryany@gmail.com
Wed Feb 13 09:20:00 GMT 2013


Hi,

The attached patch is the libsanitizer merge from upstream r175042.

Lots of changes. Among other things:
 - x86_64 linux: change the shadow offset to 0x7fff8000 (~5% speedup)
 - the new asan allocator is enabled on Mac (was enabled on Linux before).
 - tsan finds races between atomic and plain accesses
 - better scanf interceptor, enabled by default
 - don't include linux/futex.h (fixes PR56128)
 - simple tests seem to work (again?) on PowerPC64 with 44-bit address
space (46 AS not tested)

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?

--kcc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libsanitizer-r175042.patch
Type: application/octet-stream
Size: 219062 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20130213/4445e119/attachment.obj>


More information about the Gcc-patches mailing list