On Fri, Apr 17, 2015 at 10:37:50AM +0300, Yury Gribov wrote: > commit 97c141d9be45b29fb7e281dc2b7cd904e93c2813 > Author: Yury Gribov <y.gri...@samsung.com> > Date: Mon Feb 2 14:33:17 2015 +0300 > > 2015-04-17 Yury Gribov <y.gri...@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.
Ok for trunk. Jakub