| commit | adfde5fef6f667870c510d05bf6b09839ba02e4b | [log] [tgz] |
|---|---|---|
| author | Josh Magee <joshua_magee@playstation.sony.com> | Thu Apr 17 19:08:36 2014 +0000 |
| committer | Josh Magee <joshua_magee@playstation.sony.com> | Thu Apr 17 19:08:36 2014 +0000 |
| tree | 380160a0a99108afd623fdc4bb55368f56173537 | |
| parent | 037f26f2123e10f8b5c01cf5eb2cceaa254ad9b7 [diff] |
[stack protector] Make the StackProtector pass respect ssp-buffer-size. Previously, SSPBufferSize was assigned the value of the "stack-protector-buffer-size" attribute after all uses of SSPBufferSize. The effect was that the default SSPBufferSize was always used during analysis. I moved the check for the attribute before the analysis; now --param ssp-buffer-size= works correctly again. Differential Revision: http://reviews.llvm.org/D3349 llvm-svn: 206486