diff options
author | Eric Christopher <echristo@gmail.com> | 2013-09-03 16:10:12 +0000 |
---|---|---|
committer | Eric Christopher <echristo@gmail.com> | 2013-09-03 16:10:12 +0000 |
commit | 08198168873ff2d1ba7ec27dd2b75c3b901257b3 (patch) | |
tree | 32e91ed2a4320416b41157d8a270f20d6826bea6 /clang/lib/Frontend | |
parent | 8a777db90cd10295a251ad4a134cad4f85f8f19e (diff) | |
download | bcm5719-llvm-08198168873ff2d1ba7ec27dd2b75c3b901257b3.tar.gz bcm5719-llvm-08198168873ff2d1ba7ec27dd2b75c3b901257b3.zip |
Attempt to migrate default dwarf version to 4 for linux.
llvm-svn: 189823
Diffstat (limited to 'clang/lib/Frontend')
-rw-r--r-- | clang/lib/Frontend/CompilerInvocation.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/Frontend/CompilerInvocation.cpp b/clang/lib/Frontend/CompilerInvocation.cpp index 819ed4b135c..7e21f55c76c 100644 --- a/clang/lib/Frontend/CompilerInvocation.cpp +++ b/clang/lib/Frontend/CompilerInvocation.cpp @@ -334,8 +334,8 @@ static bool ParseCodeGenArgs(CodeGenOptions &Opts, ArgList &Args, InputKind IK, else if (Args.hasArg(OPT_gdwarf_4)) Opts.DwarfVersion = 4; else if (Opts.getDebugInfo() != CodeGenOptions::NoDebugInfo) - // Default Dwarf version is 3 if we are generating debug information. - Opts.DwarfVersion = 3; + // Default Dwarf version is 4 if we are generating debug information. + Opts.DwarfVersion = 4; Opts.DisableLLVMOpts = Args.hasArg(OPT_disable_llvm_optzns); Opts.DisableRedZone = Args.hasArg(OPT_disable_red_zone); |