diff options
author | ygribov <ygribov@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-04-17 07:51:02 +0000 |
---|---|---|
committer | ygribov <ygribov@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-04-17 07:51:02 +0000 |
commit | 4d3c996bee3c03fff2211781d78f5b1f42f55974 (patch) | |
tree | 09b053c21952ec3a007be7fb313cc8b3d5295944 /libcilkrts | |
parent | 06065ecc5011a9a0ab8be1800bf43813ebb71c15 (diff) | |
download | gcc-4d3c996bee3c03fff2211781d78f5b1f42f55974.tar.gz |
2015-04-17 Yury Gribov <y.gribov@samsung.com>
gcc/
* asan.c (set_sanitized_sections): New function.
(section_sanitized_p): Ditto.
(asan_protect_global): Optionally sanitize user-defined
sections.
* asan.h (set_sanitized_sections): Declare new function.
* common.opt (fsanitize-sections): New option.
* doc/invoke.texi (-fsanitize-sections): Document new option.
* opts-global.c (handle_common_deferred_options): Handle new
option.
gcc/testsuite/
* c-c++-common/asan/user-section-1.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@222168 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libcilkrts')
0 files changed, 0 insertions, 0 deletions