]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/cfgexpand.c
Do not emit red stack zones for a fn with no_sanitize_address
authorJakub Jelinek <jakub@redhat.com>
Thu, 18 Feb 2016 17:15:25 +0000 (18:15 +0100)
committerMartin Liska <marxin@gcc.gnu.org>
Thu, 18 Feb 2016 17:15:25 +0000 (17:15 +0000)
commitc461d26383f5e7999b3e02c965d8289f2c22f7fe
tree850f770e9e817020c41bdbcda53aebf68370100d
parentf003579e9cdd2f28f7a5b0985d541c2f375bbf11
Do not emit red stack zones for a fn with no_sanitize_address

PR sanitizer/69863
* cfgexpand.c (asan_sanitize_stack_p): New function.
(partition_stack_vars): Use the function.
(expand_stack_vars): Likewise.
(defer_stack_allocation): Likewise.
(expand_used_vars): Likewise.

Co-Authored-By: Martin Liska <mliska@suse.cz>
From-SVN: r233524
gcc/ChangeLog
gcc/cfgexpand.c