From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24837 invoked by alias); 10 Jan 2013 07:01:57 -0000 Received: (qmail 24827 invoked by uid 22791); 10 Jan 2013 07:01:56 -0000 X-SWARE-Spam-Status: No, hits=-4.7 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,KHOP_RCVD_TRUST,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE,TW_KC X-Spam-Check-By: sourceware.org Received: from mail-vc0-f178.google.com (HELO mail-vc0-f178.google.com) (209.85.220.178) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 10 Jan 2013 07:01:51 +0000 Received: by mail-vc0-f178.google.com with SMTP id l6so198434vcl.23 for ; Wed, 09 Jan 2013 23:01:50 -0800 (PST) Received: by 10.220.241.141 with SMTP id le13mr88421366vcb.26.1357801310232; Wed, 09 Jan 2013 23:01:50 -0800 (PST) MIME-Version: 1.0 Received: by 10.52.110.70 with HTTP; Wed, 9 Jan 2013 23:01:30 -0800 (PST) From: Konstantin Serebryany Date: Thu, 10 Jan 2013 07:01:00 -0000 Message-ID: Subject: libsanitizer mege from upstream r171973 To: GCC Patches , Jakub Jelinek , Dodji Seketeli , Dmitry Vyukov , Wei Mi Content-Type: text/plain; charset=ISO-8859-1 X-IsSubscribed: yes Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org X-SW-Source: 2013-01/txt/msg00515.txt.bz2 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