This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Add no_sanitize_address attribute (PR sanitizer/56454)


Jakub Jelinek <jakub@redhat.com> writes:

> Bootstrapped/regtested on x86_64-linux and i686-linux, ok for trunk?
>
> 2013-02-28  Konstantin Serebryany  <konstantin.s.serebryany@gmail.com>
> 	    Jakub Jelinek  <jakub@redhat.com>
>
> 	PR sanitizer/56454
> 	* asan.c (gate_asan): Lookup no_sanitize_address instead of
> 	no_address_safety_analysis attribute.
> 	* doc/extend.texi (no_address_safety_attribute): Rename to
> 	no_sanitize_address attribute, mention no_address_safety_analysis
> 	attribute as deprecated alias.
>
> 	* c-common.c (handle_no_sanitize_address_attribute): New function.
> 	(c_common_attribute_table): Add no_sanitize_address attribute.
> 	(handle_no_address_safety_analysis_attribute): Add
> 	no_sanitize_address attribute, not no_address_safety_analysis
> 	attribute.
>
> 	* g++.dg/asan/default-options-1.C (__asan_default_options): Use
> 	no_sanitize_address attribute rather than no_address_safety_analysis.
> 	* g++.dg/asan/sanitizer_test_utils.h
> 	(ATTRIBUTE_NO_ADDRESS_SAFETY_ANALYSIS): Likewise.
> 	* c-c++-common/asan/attrib-1.c: Test no_sanitize_address attribute
> 	in addition to no_address_safety_analysis.

This OK, thanks.

-- 
		Dodji


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]