commit | e1d4f5d6840e99b8345dd755ec4a335ff4539fcf | [log] [tgz] |
---|---|---|
author | Bill Wendling <isanbard@gmail.com> | Sun Jun 28 07:36:13 2009 +0000 |
committer | Bill Wendling <isanbard@gmail.com> | Sun Jun 28 07:36:13 2009 +0000 |
tree | 8fa4caaaa5f0ca371dd4be9d4b47f1c7808e8945 | |
parent | 0e0eadd1788f7230e5de742a6ac3fdc919c2fa06 [diff] |
Add stack protector support to clang. This generates the 'ssp' and 'sspreq' function attributes. There are predefined macros that are defined when stack protectors are used: __SSP__=1 with -fstack-protector and __SSP_ALL__=2 with -fstack-protector-all. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@74405 91177308-0d34-0410-b5e6-96231b3b80d8