aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2014-03-27 20:47:30 +0000
committerDavid Blaikie <dblaikie@gmail.com>2014-03-27 20:47:30 +0000
commit7e2fd943ae4f91c74beeb84cdfbb1499bfcf2ea9 (patch)
treea335d639a3d2c1cdbd8ef4088cea173f614de8e0 /clang/lib/Frontend/CompilerInvocation.cpp
parent7400a979521a70be4d69071271e4543014fbfcf5 (diff)
downloadllvm-7e2fd943ae4f91c74beeb84cdfbb1499bfcf2ea9.zip
llvm-7e2fd943ae4f91c74beeb84cdfbb1499bfcf2ea9.tar.gz
llvm-7e2fd943ae4f91c74beeb84cdfbb1499bfcf2ea9.tar.bz2
Support for -Wa,-compress-debug-sections.
Also, while I'm here, support -nocompress-debug-sections too. llvm-svn: 204959
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 d744865..b9706e8 100644
--- a/clang/lib/Frontend/CompilerInvocation.cpp
+++ b/clang/lib/Frontend/CompilerInvocation.cpp
@@ -447,6 +447,7 @@ static bool ParseCodeGenArgs(CodeGenOptions &Opts, ArgList &Args, InputKind IK,
Opts.InstrumentFunctions = Args.hasArg(OPT_finstrument_functions);
Opts.InstrumentForProfiling = Args.hasArg(OPT_pg);
Opts.EmitOpenCLArgMetadata = Args.hasArg(OPT_cl_kernel_arg_info);
+ Opts.CompressDebugSections = Args.hasArg(OPT_compress_debug_sections);
Opts.DebugCompilationDir = Args.getLastArgValue(OPT_fdebug_compilation_dir);
Opts.LinkBitcodeFile = Args.getLastArgValue(OPT_mlink_bitcode_file);
Opts.SanitizerBlacklistFile = Args.getLastArgValue(OPT_fsanitize_blacklist);