re PR sanitizer/81923 ([ASAN] gcc emites wrong odr asan instrumentation for glibc)
authorJakub Jelinek <jakub@redhat.com>
Fri, 1 Sep 2017 13:46:14 +0000 (15:46 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Fri, 1 Sep 2017 13:46:14 +0000 (15:46 +0200)
commit349884d1e38b08263682b5b94dec796398444e2a
tree7e143c64e24a4c5d7eeeed6fc2952351215af285
parent2f19c491dee57eac5a93a271726c096529c5729b
re PR sanitizer/81923 ([ASAN] gcc emites wrong odr asan instrumentation for glibc)

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.

From-SVN: r251595
gcc/ChangeLog
gcc/asan.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/asan/pr81923.c [new file with mode: 0644]