aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorDjordje Todorovic <djordje.todorovic@syrmia.com>2020-03-19 12:13:18 +0100
committerDjordje Todorovic <djordje.todorovic@syrmia.com>2020-03-19 13:57:30 +0100
commitd9b962100942c71a4c26debaa716f7ab0c4ea8a1 (patch)
treec6ded0d1a6b5720a681b6b0a79a7914723a788ff /clang/lib/Frontend/CompilerInvocation.cpp
parentdcbcec4822f47ec5b638dd9c20dcebd464569dae (diff)
downloadllvm-d9b962100942c71a4c26debaa716f7ab0c4ea8a1.zip
llvm-d9b962100942c71a4c26debaa716f7ab0c4ea8a1.tar.gz
llvm-d9b962100942c71a4c26debaa716f7ab0c4ea8a1.tar.bz2
Reland D73534: [DebugInfo] Enable the debug entry values feature by default
The issue that was causing the build failures was fixed with the D76164.
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 e2b24f0..2e432ad 100644
--- a/clang/lib/Frontend/CompilerInvocation.cpp
+++ b/clang/lib/Frontend/CompilerInvocation.cpp
@@ -788,10 +788,8 @@ static bool ParseCodeGenArgs(CodeGenOptions &Opts, ArgList &Args, InputKind IK,
llvm::Triple T(TargetOpts.Triple);
if (Opts.OptimizationLevel > 0 && Opts.hasReducedDebugInfo() &&
- llvm::is_contained(DebugEntryValueArchs, T.getArch())) {
- Opts.EnableDebugEntryValues = Args.hasArg(OPT_femit_debug_entry_values);
+ llvm::is_contained(DebugEntryValueArchs, T.getArch()))
Opts.EmitCallSiteInfo = true;
- }
Opts.DisableO0ImplyOptNone = Args.hasArg(OPT_disable_O0_optnone);
Opts.DisableRedZone = Args.hasArg(OPT_disable_red_zone);