asan.c (instrument_derefs): Disable instrumentation on asan-globals=0.
authorMarat Zakirov <m.zakirov@samsung.com>
Wed, 11 Mar 2015 07:39:20 +0000 (07:39 +0000)
committerMarat Zakirov <mzakirov@gcc.gnu.org>
Wed, 11 Mar 2015 07:39:20 +0000 (07:39 +0000)
commit6b98fab5f1ae21b76813630539e500e04c8a6952
treeb7ac247a1b8f48f68300cd97f4da28af2d003a78
parentdf4893c3907ab9ec2174d73dacfe7bc542ed61d6
asan.c (instrument_derefs): Disable instrumentation on asan-globals=0.

2015-03-11  Marat Zakirov  <m.zakirov@samsung.com>

* asan.c (instrument_derefs): Disable instrumentation on asan-globals=0.
* c-c++-common/asan/no-asan-check-glob.c: New test.

From-SVN: r221345
gcc/ChangeLog
gcc/asan.c
gcc/testsuite/ChangeLog
gcc/testsuite/c-c++-common/asan/no-asan-check-glob.c [new file with mode: 0644]