]> granicus.if.org Git - clang/commit
[stackprotector] Add command line option -fstack-protector-strong
authorJosh Magee <joshua_magee@playstation.sony.com>
Tue, 11 Feb 2014 01:35:14 +0000 (01:35 +0000)
committerJosh Magee <joshua_magee@playstation.sony.com>
Tue, 11 Feb 2014 01:35:14 +0000 (01:35 +0000)
commit3ab3daec81111e00f1a70f482f29aaf38bfcedf3
treefd78aee5faf94074d5c3ab3c0a920b920f8c7b6a
parenta9808833919b90a03cf645a8bbe508c4bc779953
[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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@201120 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/LangOptions.h
include/clang/Driver/Options.td
include/clang/Driver/ToolChain.h
lib/CodeGen/CodeGenModule.cpp
lib/Driver/Tools.cpp
lib/Frontend/CompilerInvocation.cpp
lib/Frontend/InitPreprocessor.cpp
test/CodeGen/stack-protector.c
test/Driver/stack-protector.c