summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2016-08-24 18:29:58 +0000
committerDavid Blaikie <dblaikie@gmail.com>2016-08-24 18:29:58 +0000
commita45c31a5b40ded42ad2cccc20f927f4e1ce7c125 (patch)
tree7d488fe33104c7a6cee05b111ce8c01599c0a8ad /clang/lib/Frontend/CompilerInvocation.cpp
parenta01f29532289f5fbebcc4f9bc5399fec0c715807 (diff)
downloadbcm5719-llvm-a45c31a5b40ded42ad2cccc20f927f4e1ce7c125.tar.gz
bcm5719-llvm-a45c31a5b40ded42ad2cccc20f927f4e1ce7c125.zip
DebugInfo: Add flag to CU to disable emission of inline debug info into the skeleton CU
In cases where .dwo/.dwp files are guaranteed to be available, skipping the extra online (in the .o file) inline info can save a substantial amount of space - see the original r221306 for more details there. llvm-svn: 279651
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 69c4593d5f5..97c37defa10 100644
--- a/clang/lib/Frontend/CompilerInvocation.cpp
+++ b/clang/lib/Frontend/CompilerInvocation.cpp
@@ -499,6 +499,7 @@ static bool ParseCodeGenArgs(CodeGenOptions &Opts, ArgList &Args, InputKind IK,
Opts.WholeProgramVTables = Args.hasArg(OPT_fwhole_program_vtables);
Opts.LTOVisibilityPublicStd = Args.hasArg(OPT_flto_visibility_public_std);
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();
OpenPOWER on IntegriCloud