diff options
author | Teresa Johnson <tejohnson@google.com> | 2016-03-15 00:04:44 +0000 |
---|---|---|
committer | Teresa Johnson <tejohnson@google.com> | 2016-03-15 00:04:44 +0000 |
commit | a0d29406cbdad9f8beb26c44cbd275ff2253da1d (patch) | |
tree | f785aa056a4190287676c5de5eba407c18191dca /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 26ab5772b058fcddabfecb6736a3b78c67bc1751 (diff) | |
download | llvm-a0d29406cbdad9f8beb26c44cbd275ff2253da1d.zip llvm-a0d29406cbdad9f8beb26c44cbd275ff2253da1d.tar.gz llvm-a0d29406cbdad9f8beb26c44cbd275ff2253da1d.tar.bz2 |
[ThinLTO] Clang side of renaming of function index (NFC)
This is the companion to an LLVM patch that renamed the function index
data structures and files to use the more general module summary index.
(Recommit after fixing LLVM side to add back missed file)
llvm-svn: 263514
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
-rw-r--r-- | clang/lib/Frontend/CompilerInvocation.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Frontend/CompilerInvocation.cpp b/clang/lib/Frontend/CompilerInvocation.cpp index eccf597..c212794 100644 --- a/clang/lib/Frontend/CompilerInvocation.cpp +++ b/clang/lib/Frontend/CompilerInvocation.cpp @@ -608,7 +608,7 @@ static bool ParseCodeGenArgs(CodeGenOptions &Opts, ArgList &Args, InputKind IK, 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.EmitSummaryIndex = A && A->containsValue("thin"); if (Arg *A = Args.getLastArg(OPT_fthinlto_index_EQ)) { if (IK != IK_LLVM_IR) Diags.Report(diag::err_drv_argument_only_allowed_with) |