aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorEric Christopher <echristo@gmail.com>2013-02-22 23:50:16 +0000
committerEric Christopher <echristo@gmail.com>2013-02-22 23:50:16 +0000
commitf1545838d7127563b161cfe63d27145c6fe5e982 (patch)
treedfd76a4f1244f4e9ab849cdb256d7ea91bb52f3b /clang/lib/Frontend/CompilerInvocation.cpp
parentdae389bb98c73d4d5a609d415ba00a417832b350 (diff)
downloadllvm-f1545838d7127563b161cfe63d27145c6fe5e982.zip
llvm-f1545838d7127563b161cfe63d27145c6fe5e982.tar.gz
llvm-f1545838d7127563b161cfe63d27145c6fe5e982.tar.bz2
Propagate the split dwarf file information through into the backend
and through to the debug info in the module. In order to make the testcase a bit more efficient allow the filename to go through compilation for compile and not assemble jobs and turn off the extract for cases where we don't create an object. llvm-svn: 175935
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 21188c3..d856c31 100644
--- a/clang/lib/Frontend/CompilerInvocation.cpp
+++ b/clang/lib/Frontend/CompilerInvocation.cpp
@@ -315,6 +315,7 @@ static bool ParseCodeGenArgs(CodeGenOptions &Opts, ArgList &Args, InputKind IK,
Opts.setDebugInfo(CodeGenOptions::FullDebugInfo);
}
Opts.DebugColumnInfo = Args.hasArg(OPT_dwarf_column_info);
+ Opts.SplitDwarfFile = Args.getLastArgValue(OPT_split_dwarf_file);
Opts.ModulesAutolink = Args.hasArg(OPT_fmodules_autolink);
Opts.DisableLLVMOpts = Args.hasArg(OPT_disable_llvm_optzns);