aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorTeresa Johnson <tejohnson@google.com>2015-10-15 13:41:51 +0000
committerTeresa Johnson <tejohnson@google.com>2015-10-15 13:41:51 +0000
commitfca505c67434ab72a20e94ae9f0fe2dc0cfc387c (patch)
tree1a62d7001a024d37f67dab474da1525a47e3ffc2 /clang/lib/Frontend/CompilerInvocation.cpp
parentd7bae451de6df3e925efccc2abaeb2df9d402529 (diff)
downloadllvm-fca505c67434ab72a20e94ae9f0fe2dc0cfc387c.zip
llvm-fca505c67434ab72a20e94ae9f0fe2dc0cfc387c.tar.gz
llvm-fca505c67434ab72a20e94ae9f0fe2dc0cfc387c.tar.bz2
Revert "Clang support for -flto=thin." (bot failures)
Rolling this back for now since there are a couple of bot failures on the new tests I added, and I won't have a chance to look at them in detail until later this afternoon. I think the new tests need some restrictions on having the gold plugin available. This reverts commit r250398. llvm-svn: 250402
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
-rw-r--r--clang/lib/Frontend/CompilerInvocation.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/clang/lib/Frontend/CompilerInvocation.cpp b/clang/lib/Frontend/CompilerInvocation.cpp
index 61144fc..4220487 100644
--- a/clang/lib/Frontend/CompilerInvocation.cpp
+++ b/clang/lib/Frontend/CompilerInvocation.cpp
@@ -499,9 +499,7 @@ static bool ParseCodeGenArgs(CodeGenOptions &Opts, ArgList &Args, InputKind IK,
Opts.MergeFunctions = Args.hasArg(OPT_fmerge_functions);
- Opts.PrepareForLTO = Args.hasArg(OPT_flto, OPT_flto_EQ);
- const Arg *A = Args.getLastArg(OPT_flto, OPT_flto_EQ);
- Opts.EmitFunctionSummary = A && A->containsValue("thin");
+ Opts.PrepareForLTO = Args.hasArg(OPT_flto);
Opts.MSVolatile = Args.hasArg(OPT_fms_volatile);