Re: [PATCH v5] Enable -fsanitize-recover for KASan

2014-10-28 Thread Yury Gribov
On 10/28/2014 12:26 PM, Jakub Jelinek wrote: On Tue, Oct 28, 2014 at 11:46:31AM +0300, Yury Gribov wrote: 2014-10-23 Yury Gribov gcc/ * asan.c (report_error_func): Add noabort path. (check_func): Ditto. Formatting. (asan_expand_check_ifn): Handle noabort path.

Re: [PATCH v5] Enable -fsanitize-recover for KASan

2014-10-28 Thread Jakub Jelinek
On Tue, Oct 28, 2014 at 11:46:31AM +0300, Yury Gribov wrote: > 2014-10-23 Yury Gribov > > gcc/ > * asan.c (report_error_func): Add noabort path. > (check_func): Ditto. Formatting. > (asan_expand_check_ifn): Handle noabort path. > * common.opt (flag_sanitize_recover): Ad

[PATCH v5] Enable -fsanitize-recover for KASan

2014-10-28 Thread Yury Gribov
Hi all, On 10/23/2014 11:11 AM, Yury Gribov wrote: This patch enables -fsanitize-recover for KASan by default. This causes KASan to continue execution after error in case of inline instrumentation. This feature is needed because - reports during early bootstrap won't even be printed - needed to