Rafael Espindola
ce5c6091e0
Don't reduce the stack protector level given -fstack-protector.
...
Before -fstack-protector would always force a level of 1, even if the default
was 2.
Patch by Brad Smith.
llvm-svn: 209479
2014-05-22 22:57:39 +00:00
Rafael Espindola
2d401f5bb5
Use stack protector strong by default on OpenBSD.
...
Use stack protector strong by default to match the base OS and ports/packages
compiler policy.
Patch by Brad Smith.
llvm-svn: 209432
2014-05-22 12:52:35 +00:00
Josh Magee
e0fc1a80cb
[stackprotector] Add command line option -fstack-protector-strong
...
This option has the following effects:
* It adds the sspstrong IR attribute to each function within the CU.
* It defines the macro __SSP_STRONG__ with the value of 2.
Differential Revision: http://llvm-reviews.chandlerc.com/D2717
llvm-svn: 201120
2014-02-11 01:35:14 +00:00
Rafael Espindola
044f783bc0
Default to PIE and using stack protection on OpenBSD.
...
Patch by Matthew Dempsky.
llvm-svn: 183295
2013-06-05 04:28:55 +00:00
Chad Rosier
db3da83b28
[driver] Add support for the --param ssp-buffer-size= driver option.
...
PR9673
llvm-svn: 162285
2012-08-21 16:16:06 +00:00