This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH 2/7] Libsanitizer merge from upstream r249633.
- From: Jakub Jelinek <jakub at redhat dot com>
- To: Maxim Ostapenko <m dot ostapenko at partner dot samsung dot com>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>, Kostya Serebryany <kcc at google dot com>, Dmitry Vyukov <dvyukov at google dot com>, Marek Polacek <polacek at redhat dot com>, Yury Gribov <y dot gribov at samsung dot com>, Slava Garbuzov <v dot garbuzov at samsung dot com>, Vyacheslav Barinov <v dot barinov at samsung dot com>
- Date: Mon, 19 Oct 2015 09:22:38 +0200
- Subject: Re: [PATCH 2/7] Libsanitizer merge from upstream r249633.
- Authentication-results: sourceware.org; auth=none
- References: <561CE769 dot 6050800 at partner dot samsung dot com> <561CE807 dot 9060503 at partner dot samsung dot com> <20151014073015 dot GO478 at tucnak dot redhat dot com> <561F811E dot 7060102 at partner dot samsung dot com>
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
On Thu, Oct 15, 2015 at 01:34:06PM +0300, Maxim Ostapenko wrote:
> Ah, right, fixing this now. Does this looks better now?
Yes, it is ok now.
> 2015-10-12 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
>
> config/
>
> * bootstrap-asan.mk: Replace ASAN_OPTIONS=detect_leaks with
> LSAN_OPTIONS=detect_leaks.
>
> gcc/
>
> * asan.c (asan_emit_stack_protection): Don't pass local stack to
> asan_stack_malloc_[n] anymore. Check if asan_stack_malloc_[n] returned
> NULL and use local stack than.
> (asan_finish_file): Insert __asan_version_mismatch_check_v[n] call
> in addition to __asan_init.
> * sanitizer.def (BUILT_IN_ASAN_INIT): Rename to __asan_init.
> (BUILT_IN_ASAN_VERSION_MISMATCH_CHECK): Add new builtin call.
>
> gcc/testsuite/
>
> g++.dg/asan/default-options-1.C: Adjust testcase.
Jakub