summaryrefslogtreecommitdiffstats
path: root/clang/test/Driver/stack-protector.c
Commit message (Collapse)AuthorAgeFilesLines
* [Darwin] Enable -fstack-protector (back) by default with -ffreestandingBruno Cardoso Lopes2017-09-051-12/+5
| | | | | | | | Go back to behavior prior to r289005. rdar://problem/32987198 llvm-svn: 312595
* [Driver][Darwin] Disable default stack protector levels in freestanding mode.Bruno Cardoso Lopes2016-12-081-0/+13
| | | | | | | | | Currently -fstack-protector is on by default when using -ffreestanding. Change the default behavior to have it off when using -ffreestanding. rdar://problem/14089363 llvm-svn: 289005
* [Driver] Add tests for default stack protector values on DarwinBruno Cardoso Lopes2016-12-071-0/+15
| | | | llvm-svn: 288994
* Bring back r250262: PS4 toolchainFilipe Cabecinhas2015-10-141-0/+9
| | | | | | | | | | | | | | There was a minor problem with a test. Sorry for the noise yesterday. This patch adds missing pieces to clang, including the PS4 toolchain definition, added warnings, PS4 defaults, and Driver changes needed for our compiler. A patch by Filipe Cabecinhas, Pierre Gousseau and Katya Romanova! Differential Revision: http://reviews.llvm.org/D13482 llvm-svn: 250293
* Revert-to-green r250262 (PS4 toolchain patch)Sean Silva2015-10-141-9/+0
| | | | | | | It is breaking llvm-clang-lld-x86_64-scei-ps4-ubuntu-fast e.g. http://lab.llvm.org:8011/builders/llvm-clang-lld-x86_64-scei-ps4-ubuntu-fast/builds/1362 llvm-svn: 250273
* I took care of the build problem in the commit 250252.Ekaterina Romanova2015-10-141-0/+9
| | | | | | | | | | | | | | Resubmitting the patch. This patch adds missing pieces to clang, including the PS4 toolchain definition, added warnings, PS4 defaults, and Driver changes needed for our compiler. A patch by Filipe Cabecinhas, Pierre Gousseau and Katya Romanova! Differential Revision: http://reviews.llvm.org/D13482 llvm-svn: 250262
* reverting my patch, cause build problemsEkaterina Romanova2015-10-141-9/+0
| | | | llvm-svn: 250257
* This patch adds missing pieces to clang, including the PS4 toolchainEkaterina Romanova2015-10-131-0/+9
| | | | | | | | | | | definition, added warnings, PS4 defaults, and Driver changes needed for our compiler. A patch by Filipe Cabecinhas, Pierre Gousseau and Katya Romanova! Differential Revision: http://reviews.llvm.org/D13482 llvm-svn: 250252
* Revert "This patch adds missing pieces to clang, including the PS4 toolchain ↵Greg Bedwell2015-09-251-9/+0
| | | | | | | | definition, added warnings, PS4 defaults, and Driver changes needed for our compiler." This reverts commit r248546 to get our bot green again while we discuss the best way forward. llvm-svn: 248578
* This patch adds missing pieces to clang, including the PS4 toolchainEkaterina Romanova2015-09-241-0/+9
| | | | | | | | | | | definition, added warnings, PS4 defaults, and Driver changes needed for our compiler. A patch by Filipe Cabecinhas, Pierre Gousseau and Katya Romanova! Differential Revision: http://reviews.llvm.org/D11279 llvm-svn: 248546
* Test fixes and improvements.Rafael Espindola2014-06-011-6/+3
| | | | | | | | | Remove redundant -fno-stack-protector run with openbsd. Add -target to the -fstack-protector tests so they pass on openbsd. Patch by Brad Smith. llvm-svn: 209991
* Don't reduce the stack protector level given -fstack-protector.Rafael Espindola2014-05-221-0/+3
| | | | | | | | | Before -fstack-protector would always force a level of 1, even if the default was 2. Patch by Brad Smith. llvm-svn: 209479
* Use stack protector strong by default on OpenBSD.Rafael Espindola2014-05-221-1/+1
| | | | | | | | | Use stack protector strong by default to match the base OS and ports/packages compiler policy. Patch by Brad Smith. llvm-svn: 209432
* [stackprotector] Add command line option -fstack-protector-strongJosh Magee2014-02-111-0/+8
| | | | | | | | | | 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
* Default to PIE and using stack protection on OpenBSD.Rafael Espindola2013-06-051-0/+6
| | | | | | Patch by Matthew Dempsky. llvm-svn: 183295
* [driver] Add support for the --param ssp-buffer-size= driver option.Chad Rosier2012-08-211-0/+11
PR9673 llvm-svn: 162285
OpenPOWER on IntegriCloud