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.ostape...@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