libsanitizer mege from upstream r171973

Jack Howarth howarth@bromo.med.uc.edu
Thu Jan 10 15:38:00 GMT 2013


On Thu, Jan 10, 2013 at 11:01:30AM +0400, Konstantin Serebryany wrote:
> Hi,
> 
> The attached patch is the libsanitizer merge from upstream r171973.
> 
> Lots of changes. Among other things:
>   - slow CFI-based unwinder (off by default for now)
>   - more interceptors in asan (read, pread, etc)
>   - precise handling of memset/memcpy/etc (detects first overrun byte)
>   - new experimental asan allocator (off by default)
>   - asan now detects new/free, malloc/delete and new/delete[] mismatches
>   - tsan now detects more races IO operations
> 
> 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 also green, but
> since the changes are large something may potentially break on other
> platforms.
> 
> Ok to commit?
> 
> --kcc

kcc,
    Any chance that we can get http://llvm-reviews.chandlerc.com/D216 approved and committed
into llvm so that the libsanitizer merge can also eliminate the need for the Core Foundation
framework? It appears that you are assigned as the reviewer for that patch. Unfortunately
diff #518 has bit-rotted against current compiler-rt svn so Alexander will need to correct 
the patch for that.
              Jack



More information about the Gcc-patches mailing list