libsanitizer merge from upstream r253555, compiler part.
authorMax Ostapenko <m.ostapenko@partner.samsung.com>
Mon, 23 Nov 2015 09:15:13 +0000 (11:15 +0200)
committerMaxim Ostapenko <chefmax@gcc.gnu.org>
Mon, 23 Nov 2015 09:15:13 +0000 (11:15 +0200)
commitb59e2a4903fa1ac8c3b34338a62b1e3fb15c3792
treef7c62c92ce48c00bad27d1fa88ecde0728255afa
parent16310b3fff2282f0d7e332c8fdb9d69952c920b4
libsanitizer merge from upstream r253555, compiler part.

gcc/

* opts.c (finish_options): Allow -fsanitize-recover=address for
userspace sanitization.
* asan.c (asan_expand_check_ifn): Redefine recover_p.
* doc/invoke.texi (fsanitize-recover): Update documentation.

gcc/testsuite/

* c-c++-common/asan/halt_on_error-1.c: New test.
* c-c++-common/asan/halt_on_error-2.c: Likewise.

From-SVN: r230741
gcc/ChangeLog
gcc/asan.c
gcc/doc/invoke.texi
gcc/opts.c
gcc/testsuite/ChangeLog
gcc/testsuite/c-c++-common/asan/halt_on_error-1.c [new file with mode: 0644]
gcc/testsuite/c-c++-common/asan/halt_on_error-2.c [new file with mode: 0644]