[Bug sanitizer/81923] [ASAN] gcc emites wrong odr asan instrumentation for glibc
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Sep 7 20:29:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81923
--- Comment #10 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Thu Sep 7 20:29:04 2017
New Revision: 251854
URL: https://gcc.gnu.org/viewcvs?rev=251854&root=gcc&view=rev
Log:
Backported from mainline
2017-09-01 Jakub Jelinek <jakub@redhat.com>
PR sanitizer/81923
* asan.c (create_odr_indicator): Strip name encoding from assembler
name before appending it after __odr_asan_.
* gcc.dg/asan/pr81923.c: New test.
Added:
branches/gcc-7-branch/gcc/testsuite/gcc.dg/asan/pr81923.c
Modified:
branches/gcc-7-branch/gcc/ChangeLog
branches/gcc-7-branch/gcc/asan.c
branches/gcc-7-branch/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list