aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorserge-sans-paille <sguelton@redhat.com>2020-02-07 11:35:14 +0100
committerserge-sans-paille <sguelton@redhat.com>2020-02-07 11:36:53 +0100
commitf6d98429fcdba97988fa1e3ec10dc2ca943dd0da (patch)
tree386376a64b90e237a24db5cb9323657d72b9b542 /clang/lib/Frontend/CompilerInvocation.cpp
parentc4f0f8ec41fddb5c3501ef3c708ee4c75fbea742 (diff)
downloadllvm-f6d98429fcdba97988fa1e3ec10dc2ca943dd0da.zip
llvm-f6d98429fcdba97988fa1e3ec10dc2ca943dd0da.tar.gz
llvm-f6d98429fcdba97988fa1e3ec10dc2ca943dd0da.tar.bz2
Revert "Support -fstack-clash-protection for x86"
This reverts commit 39f50da2a357a8f685b3540246c5d762734e035f. The -fstack-clash-protection is being passed to the linker too, which is not intended. Reverting and fixing that in a later commit.
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
-rw-r--r--clang/lib/Frontend/CompilerInvocation.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/clang/lib/Frontend/CompilerInvocation.cpp b/clang/lib/Frontend/CompilerInvocation.cpp
index 463b265..d1d9a77 100644
--- a/clang/lib/Frontend/CompilerInvocation.cpp
+++ b/clang/lib/Frontend/CompilerInvocation.cpp
@@ -1238,8 +1238,6 @@ static bool ParseCodeGenArgs(CodeGenOptions &Opts, ArgList &Args, InputKind IK,
Opts.NoStackArgProbe = Args.hasArg(OPT_mno_stack_arg_probe);
- Opts.StackClashProtector = Args.hasArg(OPT_stack_clash_protection);
-
if (Arg *A = Args.getLastArg(OPT_fobjc_dispatch_method_EQ)) {
StringRef Name = A->getValue();
unsigned Method = llvm::StringSwitch<unsigned>(Name)