* asan.c (instrument_mem_region_access): Don't instrument
commit94dbcbb650166aa926df2b53822888e171f50405
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 3 Dec 2012 15:04:57 +0000 (3 15:04 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 3 Dec 2012 15:04:57 +0000 (3 15:04 +0000)
tree8a42bbe27712bd9a94f99cf3b8105a1ad7328649
parent286a89a00d226d8c953c1479250c25c275efd957
* asan.c (instrument_mem_region_access): Don't instrument
if base doesn't have pointer type or len integral type.
Add cast if len doesn't have size_t compatible type.
(instrument_builtin_call): Don't instrument BUILT_IN_ATOMIC_LOAD,
BUILT_IN_ATOMIC_TEST_AND_SET, BUILT_IN_ATOMIC_CLEAR,
BUILT_IN_ATOMIC_EXCHANGE, BUILT_IN_ATOMIC_COMPARE_EXCHANGE
and BUILT_IN_ATOMIC_STORE.

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