This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: libsanitizer merge from upstream r218156
- From: Jakub Jelinek <jakub at redhat dot com>
- To: Konstantin Serebryany <konstantin dot s dot serebryany at gmail dot com>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>, Dodji Seketeli <dodji at redhat dot com>, Dmitry Vyukov <dvyukov at google dot com>, Marek Polacek <polacek at redhat dot com>, "H.J. Lu" <hjl dot tools at gmail dot com>, Yuri Gribov <tetra2005 at gmail dot com>, Alexey Samsonov <samsonov at google dot com>
- Date: Tue, 23 Sep 2014 16:16:57 +0200
- Subject: Re: libsanitizer merge from upstream r218156
- Authentication-results: sourceware.org; auth=none
- References: <CAGQ9bdyur_BejoirTygZfTs0O7VdfEHB6uWAcoqh9tukvv3BXA at mail dot gmail dot com> <CAGQ9bdyo8V6Q_CHtfz=5uo32yic05Aws0w6kuLVpH359W6fpKw at mail dot gmail dot com>
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
On Mon, Sep 22, 2014 at 11:44:57AM -0700, Konstantin Serebryany wrote:
> re-sending with the patch compressed:
>
> =============== gcc/testsuite/ChangeLog
> 2014-09-22 Kostya Serebryany <kcc@google.com>
>
> Update to match the changed asan API.
> * asan.c (asan_global_struct): Update the __asan_global definition to match
> the new API.
Please make sure you are using tabs instead of spaces in the ChangeLog
entries. The above line is too long, please break it earlier.
> (asan_add_global): Ditto.
I'll handle creation of location aggregates as follow-up.
> * sanitizer.def (BUILT_IN_ASAN_INIT): Rename __asan_init_v3
> to __asan_init_v4.
>
> =============== libsanitizer/ChangeLog
> 2014-09-22 Kostya Serebryany <kcc@google.com>
>
> * All source files: Merge from upstream r218156.
> * asan/Makefile.am (asan_files): Added new files.
> * asan/Makefile.in: Regenerate.
> * ubsan/Makefile.am (ubsan_files): Added new files.
> * ubsan/Makefile.in: Regenerate.
> * tsan/Makefile.am (tsan_files): Added new files.
> * tsan/Makefile.in: Regenerate.
> * sanitizer_common/Makefile.am (sanitizer_common_files): Added
> new
> files.
> * sanitizer_common/Makefile.in: Regenerate.
> * asan/libtool-version: bump the libasan SONAME.
Capital B.
Ok for trunk, from quick skimming it shouldn't be that bad for portability
this time.
OT, will you please look at the underaligned asan malloc etc.? GCC assumes
that even malloc (1) or malloc (7) is sizeof (void *) aligned on Linux
(and can and will assume 2 * sizeof (void *) alignment hopefully soon).
Jakub