From b03c3d8c62096af1e27b23480fa4623bb64bfab9 Mon Sep 17 00:00:00 2001 From: Nico Weber Date: Fri, 7 Feb 2020 14:49:38 -0500 Subject: Revert "Support -fstack-clash-protection for x86" This reverts commit 4a1a0690ad6813a4c8cdb8dc20ea6337aa1f61e0. Breaks tests on mac and win, see https://reviews.llvm.org/D68720 --- clang/lib/Frontend/CompilerInvocation.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'clang/lib/Frontend/CompilerInvocation.cpp') diff --git a/clang/lib/Frontend/CompilerInvocation.cpp b/clang/lib/Frontend/CompilerInvocation.cpp index dd5b607..17e1906 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(Name) -- cgit v1.1