Allow simultaneous safestack and stackprotector attributes.
authorEvgeniy Stepanov <eugeni.stepanov@gmail.com>
Mon, 11 Apr 2016 22:27:55 +0000 (22:27 +0000)
committerEvgeniy Stepanov <eugeni.stepanov@gmail.com>
Mon, 11 Apr 2016 22:27:55 +0000 (22:27 +0000)
commit368d3074ba4993408825ef563fe5b8198a34077b
tree0a4203d97a2d5ced68c57938a758665f8480af91
parentf17120a85ff619f2420a6b86a05bed5c5d816353
Allow simultaneous safestack and stackprotector attributes.

This is the clang part of http://reviews.llvm.org/D18846.
SafeStack instrumentation pass adds stack protector canaries if both
attributes are present on a function. StackProtector pass will step
back if the function has a safestack attribute.

llvm-svn: 266005
clang/lib/Driver/Tools.cpp
clang/test/CodeGen/stack-protector.c
clang/test/Driver/fsanitize.c