]> git.ipfire.org Git - thirdparty/gcc.git/commit
Do not emit red stack zones for a fn with no_sanitize_address
authormarxin <marxin@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 18 Feb 2016 17:15:25 +0000 (17:15 +0000)
committermarxin <marxin@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 18 Feb 2016 17:15:25 +0000 (17:15 +0000)
commit2bc9f5c67b54d13c60f8e5d03d592fb0b57f547e
tree850f770e9e817020c41bdbcda53aebf68370100d
parent63ad69d6e1aa46a1fcd71064208e0e9a3d287610
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@233524 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/cfgexpand.c