This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r216327 - in /branches/gcc-4_9-branch/gcc: Chan...
- From: ygribov at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Thu, 16 Oct 2014 13:48:13 -0000
- Subject: r216327 - in /branches/gcc-4_9-branch/gcc: Chan...
Author: ygribov
Date: Thu Oct 16 13:48:13 2014
New Revision: 216327
URL: https://gcc.gnu.org/viewcvs?rev=216327&root=gcc&view=rev
Log:
Do not instrument first byte in strlen if already instrumented.
2014-10-16 Yury Gribov <y.gribov@samsung.com>
Backport from mainline
2014-06-24 Max Ostapenko <m.ostapenko@partner.samsung.com>
* asan.c (instrument_strlen_call): Do not instrument first byte in strlen
if already instrumented.
* c-c++-common/asan/no-redundant-instrumentation-9.c: New test.
Added:
branches/gcc-4_9-branch/gcc/testsuite/c-c++-common/asan/no-redundant-instrumentation-9.c
Modified:
branches/gcc-4_9-branch/gcc/ChangeLog
branches/gcc-4_9-branch/gcc/asan.c
branches/gcc-4_9-branch/gcc/testsuite/ChangeLog