]> git.ipfire.org Git - thirdparty/gcc.git/commit
sanitizer.def (BUILT_IN_ASAN_HANDLE_NO_RETURN): New builtin.
authorJakub Jelinek <jakub@redhat.com>
Tue, 11 Dec 2012 10:26:56 +0000 (11:26 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Tue, 11 Dec 2012 10:26:56 +0000 (11:26 +0100)
commit2b2571c99c923e306bd322533baac4ed4a3b603c
tree8e60fd8543bd4d759ad6427455b8332b261445fa
parent477a24c1c7313bf2a3ee06d2b19ad59724058b83
sanitizer.def (BUILT_IN_ASAN_HANDLE_NO_RETURN): New builtin.

* sanitizer.def (BUILT_IN_ASAN_HANDLE_NO_RETURN): New builtin.
* asan.c (instrument_builtin_call): Change is_gimple_builtin_call
gcc_assert to gcc_checking_assert.
(maybe_instrument_call): Imit __builtin___asan_handle_no_return ()
before noreturn calls other than __builtin_trap () and
__builtin_unreachable ().

* c-c++-common/asan/clone-test-1.c: Remove bogus dg-shouldfail.

From-SVN: r194390
gcc/ChangeLog
gcc/asan.c
gcc/sanitizer.def