summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorPaul Robinson <paul.robinson@sony.com>2017-09-29 21:25:07 +0000
committerPaul Robinson <paul.robinson@sony.com>2017-09-29 21:25:07 +0000
commita82808115e03254e70436bf9f7e98e3f82741611 (patch)
treefd4c3f7892be16fce06dff91e3d84f5a11b79022 /clang/lib/Frontend/CompilerInvocation.cpp
parent3e08f66bb0f46d1065671afb6357d9162213606e (diff)
downloadbcm5719-llvm-a82808115e03254e70436bf9f7e98e3f82741611.tar.gz
bcm5719-llvm-a82808115e03254e70436bf9f7e98e3f82741611.zip
[PS4] Tidy up some debug-tuning v. triple decision-making.
llvm-svn: 314558
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
-rw-r--r--clang/lib/Frontend/CompilerInvocation.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Frontend/CompilerInvocation.cpp b/clang/lib/Frontend/CompilerInvocation.cpp
index e1b14d0c156..37ba39dfd07 100644
--- a/clang/lib/Frontend/CompilerInvocation.cpp
+++ b/clang/lib/Frontend/CompilerInvocation.cpp
@@ -527,7 +527,7 @@ static bool ParseCodeGenArgs(CodeGenOptions &Opts, ArgList &Args, InputKind IK,
Opts.SplitDwarfFile = Args.getLastArgValue(OPT_split_dwarf_file);
Opts.SplitDwarfInlining = !Args.hasArg(OPT_fno_split_dwarf_inlining);
Opts.DebugTypeExtRefs = Args.hasArg(OPT_dwarf_ext_refs);
- Opts.DebugExplicitImport = Triple.isPS4CPU();
+ Opts.DebugExplicitImport = Args.hasArg(OPT_dwarf_explicit_import);
Opts.DebugFwdTemplateParams = Args.hasArg(OPT_debug_forward_template_params);
for (const auto &Arg : Args.getAllArgValues(OPT_fdebug_prefix_map_EQ))
OpenPOWER on IntegriCloud