* sanitizer.def (BUILT_IN_ASAN_HANDLE_NO_RETURN): New builtin.
commit494f4883193c753f475838019e59f8ab056f9c2f
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 11 Dec 2012 10:26:56 +0000 (11 10:26 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 11 Dec 2012 10:26:56 +0000 (11 10:26 +0000)
tree8e60fd8543bd4d759ad6427455b8332b261445fa
parentab63d9fb109ceab42b21b763628522940d900a7f
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@194390 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/asan.c
gcc/sanitizer.def