summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorPaul Robinson <paul.robinson@sony.com>2017-09-28 18:37:02 +0000
committerPaul Robinson <paul.robinson@sony.com>2017-09-28 18:37:02 +0000
commit1787f8122125762fb4e492f72e7c886e6e80d019 (patch)
treefb7a77dfefd9aa3ba2ad247ebb36360ca94fe760 /clang/lib/Frontend/CompilerInvocation.cpp
parent2095e6085124aeedf3de1511ec16e2a29845500d (diff)
downloadbcm5719-llvm-1787f8122125762fb4e492f72e7c886e6e80d019.tar.gz
bcm5719-llvm-1787f8122125762fb4e492f72e7c886e6e80d019.zip
[DWARF] Allow forward declarations of a class template instantiation
to have child entries describing the template parameters. This will be on by default for SCE tuning. Differential Revision: https://reviews.llvm.org/D14358 llvm-svn: 314444
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
-rw-r--r--clang/lib/Frontend/CompilerInvocation.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/Frontend/CompilerInvocation.cpp b/clang/lib/Frontend/CompilerInvocation.cpp
index c4e8976cf3a..e1b14d0c156 100644
--- a/clang/lib/Frontend/CompilerInvocation.cpp
+++ b/clang/lib/Frontend/CompilerInvocation.cpp
@@ -528,6 +528,7 @@ static bool ParseCodeGenArgs(CodeGenOptions &Opts, ArgList &Args, InputKind IK,
Opts.SplitDwarfInlining = !Args.hasArg(OPT_fno_split_dwarf_inlining);
Opts.DebugTypeExtRefs = Args.hasArg(OPT_dwarf_ext_refs);
Opts.DebugExplicitImport = Triple.isPS4CPU();
+ Opts.DebugFwdTemplateParams = Args.hasArg(OPT_debug_forward_template_params);
for (const auto &Arg : Args.getAllArgValues(OPT_fdebug_prefix_map_EQ))
Opts.DebugPrefixMap.insert(StringRef(Arg).split('='));
OpenPOWER on IntegriCloud