re PR sanitizer/78651 (Incorrect exception handling when catch clause uses local...
authorMaxim Ostapenko <m.ostapenko@samsung.com>
Mon, 19 Mar 2018 19:59:56 +0000 (19:59 +0000)
committerMaxim Ostapenko <chefmax@gcc.gnu.org>
Mon, 19 Mar 2018 19:59:56 +0000 (21:59 +0200)
commit058494f991ff11adee3458c6ac62fcbed28761df
tree4bf60eb65a2d5f824ce45e226928b42888e5bbc3
parentdf1f46241d8f1869b492023c9f4e1389a12675c4
re PR sanitizer/78651 (Incorrect exception handling when catch clause uses local class and PIC and sanitizer are active)

2018-03-19  Maxim Ostapenko  <m.ostapenko@samsung.com>

gcc/

PR sanitizer/78651
* dwarf2asm.c (dw2_output_indirect_constant_1): Disable ASan before
calling assemble_variable.

gcc/testsuite/

PR sanitizer/78651
* g++.dg/asan/pr78651.C: New test.

From-SVN: r258658
gcc/ChangeLog
gcc/dwarf2asm.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/asan/pr78651.C [new file with mode: 0644]