Support LLVM style of no_sanitize attribute (PR sanitizer/85556).
authorMartin Liska <mliska@suse.cz>
Fri, 11 May 2018 07:37:35 +0000 (09:37 +0200)
committerMartin Liska <marxin@gcc.gnu.org>
Fri, 11 May 2018 07:37:35 +0000 (07:37 +0000)
commit19916065b7fb26bbb36f7bbe5688ae2c1661dec3
treef5d45b2c3debefede4370624eb06a7a8ed2947ab
parent683be2f77b3ce4db09e1175c1de4ec7f26f803e6
Support LLVM style of no_sanitize attribute (PR sanitizer/85556).

2018-05-11  Martin Liska  <mliska@suse.cz>

        PR sanitizer/85556
* doc/extend.texi: Document LLVM style format for no_sanitize
attribute.
2018-05-11  Martin Liska  <mliska@suse.cz>

        PR sanitizer/85556
* c-attribs.c (handle_no_sanitize_attribute): Iterate all
TREE_LIST values.
2018-05-11  Martin Liska  <mliska@suse.cz>

        PR sanitizer/85556
* c-c++-common/ubsan/attrib-6.c: New test.

From-SVN: r260154
gcc/ChangeLog
gcc/c-family/ChangeLog
gcc/c-family/c-attribs.c
gcc/doc/extend.texi
gcc/testsuite/ChangeLog
gcc/testsuite/c-c++-common/ubsan/attrib-6.c [new file with mode: 0644]