aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorDjordje Todorovic <djordje.todorovic@syrmia.com>2020-03-09 12:43:38 +0100
committerDjordje Todorovic <djordje.todorovic@syrmia.com>2020-03-10 09:15:06 +0100
commit5aa5c943f7da155b95564058cd5d50a93eabfc89 (patch)
tree97a0feb4a8a57d8789c503bbe0ac38595e51b8d4 /clang/lib/Frontend/CompilerInvocation.cpp
parenta72dc86cddd26921f12184032e27abcc3be427cb (diff)
downloadllvm-5aa5c943f7da155b95564058cd5d50a93eabfc89.zip
llvm-5aa5c943f7da155b95564058cd5d50a93eabfc89.tar.gz
llvm-5aa5c943f7da155b95564058cd5d50a93eabfc89.tar.bz2
Reland "[DebugInfo] Enable the debug entry values feature by default"
Differential Revision: https://reviews.llvm.org/D73534
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 08a0b98..1bde2f7 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);