[PATCH] -f{no-sanitize,{,no-}sanitize-recover}=all support
Dodji Seketeli
dodji@redhat.com
Tue Jan 6 09:00:00 GMT 2015
Jakub Jelinek <jakub@redhat.com> writes:
> On Mon, Jan 05, 2015 at 10:40:37PM +0100, Jakub Jelinek wrote:
>> > Are there any doc updates that need to happen as a result of this patch?
>> > Patch itself is fine for the trunk, just want to make sure the doc side is
>> > good too.
>>
>> You're right, I'll add documentation tomorrow and repost the patch.
>
> Make that tonight ;), here it is. I also found a bug in the
> -fsanitize=float-cast-overflow documentation and -f{,no-}sanitize-recover
> and fixed that too to much the implementation.
>
> Ok?
[...]
>
> 2015-01-05 Jakub Jelinek <jakub@redhat.com>
>
> * opts.c (common_handle_option): Add support for
> -fno-sanitize=all and -f{,no-}sanitize-recover=all.
> * doc/invoke.texi: Document -fno-sanitize=all,
> -f{,no-}sanitize-recover=all. Document that
> -fsanitize=float-cast-overflow is not enabled
> by -fsanitize=undefined. Fix up documentation
> of -f{,no-}sanitize-recover.
>
> * c-c++-common/asan/sanitize-all-1.c: New test.
> * c-c++-common/ubsan/sanitize-all-1.c: New test.
> * c-c++-common/ubsan/sanitize-all-2.c: New test.
> * c-c++-common/ubsan/sanitize-all-3.c: New test.
> * c-c++-common/ubsan/sanitize-all-4.c: New test.
This is OK. Thanks!
--
Dodji
More information about the Gcc-patches
mailing list