diff options
author | Jakub Jelinek <jakub@redhat.com> | 2012-12-03 16:04:57 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2012-12-03 16:04:57 +0100 |
commit | c63d3b963cf2f52adbf5130872782af02719a316 (patch) | |
tree | 8a42bbe27712bd9a94f99cf3b8105a1ad7328649 /libcpp | |
parent | f15b972787dde99826750d935a2f2635608b1ce8 (diff) | |
download | gcc-c63d3b963cf2f52adbf5130872782af02719a316.zip gcc-c63d3b963cf2f52adbf5130872782af02719a316.tar.gz gcc-c63d3b963cf2f52adbf5130872782af02719a316.tar.bz2 |
asan.c (instrument_mem_region_access): Don't instrument if base doesn't have pointer type or len integral type.
* 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.
From-SVN: r194094
Diffstat (limited to 'libcpp')
0 files changed, 0 insertions, 0 deletions