diff options
author | Paul Robinson <paul.robinson@sony.com> | 2017-09-28 18:37:02 +0000 |
---|---|---|
committer | Paul Robinson <paul.robinson@sony.com> | 2017-09-28 18:37:02 +0000 |
commit | f0ae815a5fac60340f15afadcf84194c4513c22e (patch) | |
tree | c77866cc77e1b393dc8bf4b8cd6269efd720c5c3 /lib/Frontend/CompilerInvocation.cpp | |
parent | 9ecb2a666051a91774f4542f6684dd95618be2d0 (diff) | |
download | clang-f0ae815a5fac60340f15afadcf84194c4513c22e.tar.gz |
[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
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@314444 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Frontend/CompilerInvocation.cpp')
-rw-r--r-- | lib/Frontend/CompilerInvocation.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Frontend/CompilerInvocation.cpp b/lib/Frontend/CompilerInvocation.cpp index c4e8976cf3..e1b14d0c15 100644 --- a/lib/Frontend/CompilerInvocation.cpp +++ b/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('=')); |